Skip to content

Commit

Permalink
fix: remote.py error handling needs to shore up plugin error (#311)
Browse files Browse the repository at this point in the history
* fix: remote.py error handling needs to shore up plugin error

* fix: typo
  • Loading branch information
vjeeva authored Oct 26, 2023
1 parent 0334ef0 commit b47b07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pgbelt/config/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ async def resolve_remote_config(
f"Config resolver class {classname} from {module} does not implement resolve"
)
return None
except RemoteConfigError:
logger.error(f"Failed to resolve remote configuration for {db} {dc}")
except RemoteConfigError as e:
logger.error(f"Failed to resolve remote configuration for {db} {dc}. RemoteConfigError {e}")
return None
except ValidationError:
logger.error(
Expand Down

0 comments on commit b47b07f

Please sign in to comment.