View lineage better exception handling (#6142)

This commit is contained in:
Mayur Singal 2022-07-18 13:51:47 +05:30 committed by GitHub
parent 2271148eb3
commit 0322e12b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,7 +365,8 @@ class CommonDbSourceService(
) or []
except Exception:
logger.debug(traceback.format_exc())
logger.error("Could not parse query: Ingesting lineage failed")
logger.debug(f"Query : {view_definition}")
logger.warning("Could not parse query: Ingesting lineage failed")
def test_connection(self) -> None:
"""