make black (#2475)

Co-authored-by: Mayur SIngal <mayursingal@Mayurs-MacBook-Pro.local>
This commit is contained in:
Mayur Singal 2022-01-27 18:58:30 +05:30 committed by GitHub
parent 8db5281f30
commit a8bdf844dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,6 +117,10 @@ class SQLSource(Source[OMetaDatabaseAndTable]):
)
return True
# Catch any errors during profiling init and continue ingestion
except ModuleNotFoundError as err:
logger.error(
f"Profiling not available for this databaseService: {str(err)}"
)
except Exception as exc: # pylint: disable=broad-except
logger.debug(traceback.print_exc())
logger.debug(f"Error loading profiler {repr(exc)}")