style(connectors): Added query log (#1409)

* style(connectors): Added query log

* fix(connectors): changed info log to error log
This commit is contained in:
MauricioGarciaS 2023-07-12 12:53:27 +02:00 committed by GitHub
parent 0b95d26b40
commit c9b4644350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -357,6 +357,7 @@ def fix_missing_redshift():
database_api.pdredshift.exec_commit(base_query)
except Exception as e:
logging.error(f'[ERROR] Error while executing query. {repr(e)}')
logging.error(f'[ERROR INFO] query: {base_query}')
database_api.close()
asyncio.run(pg_client.terminate())
return