Skip to content

Commit

Permalink
fetcher register: fix bad call to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
asafc committed Jul 22, 2021
1 parent 635dfb5 commit 2f0e795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal_common/fetcher/fetcher_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, config: Optional[Dict[str, BaseFetchProvider]] = None) -> Non
logger.info(f"Loading FetcherProvider '{provider_name}' found at: {repr(provider_class)}")
fetchers.extend(providers_to_register)
except:
logger.exception("Failed to load FetchingProvider module - {module_path}", module_path=module_path)
logger.exception(f"Failed to load FetchingProvider module: {module_path}")
self._config = {name: fetcher for name,fetcher in fetchers}
logger.info("Fetcher Register loaded", extra={'config': self._config})

Expand Down

0 comments on commit 2f0e795

Please sign in to comment.