diff --git a/config.py b/config.py index 375ed64060..91c9e5450e 100644 --- a/config.py +++ b/config.py @@ -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)