Skip to content

Commit

Permalink
Merge pull request #112 from authorizon/fetcher_register_fix
Browse files Browse the repository at this point in the history
fetcher register: fix bad call to logger
  • Loading branch information
asafc authored Jul 22, 2021
2 parents 635dfb5 + 2f0e795 commit d1e3ebc
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 d1e3ebc

Please sign in to comment.