Skip to content

Commit

Permalink
[Core] Catch more general errors when loading wheels checks (#3662)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmuesch authored Feb 8, 2018
1 parent d4248cd commit 7442be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ def _get_check_module(check_name, check_path, from_site=False):
if from_site:
try:
check_module = import_module("datadog_checks.{}".format(check_name))
except ImportError as e:
except Exception as e:
error = e
# Log at debug level since this code path is expected if the check is not installed as a wheel
log.debug('Unable to import check module %s from site-packages: %s', check_name, e)
Expand Down

0 comments on commit 7442be3

Please sign in to comment.