mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-16 20:40:38 +00:00
Log the query in restore if there are any exceptions (#12761)
This commit is contained in:
parent
0e08d6d412
commit
6f89ca089d
@ -50,7 +50,7 @@ def execute_sql_file(engine: Engine, sql_file: str) -> None:
|
||||
failed_queries += 1
|
||||
logger.debug(traceback.format_exc())
|
||||
logger.warning(
|
||||
f"Error processing the following query while restoring - {err}"
|
||||
f"Error processing the following query while restoring [{clean_query}] - {err}"
|
||||
)
|
||||
|
||||
log_ansi_encoded_string(
|
||||
|
Loading…
x
Reference in New Issue
Block a user