aritra24 commented on code in PR #63028:
URL: https://github.com/apache/airflow/pull/63028#discussion_r2912827121
##########
airflow-core/src/airflow/api_fastapi/common/exceptions.py:
##########
@@ -74,22 +74,26 @@ def exception_handler(self, request: Request, exc:
IntegrityError):
for tb in traceback.format_tb(exc.__traceback__):
stacktrace += tb
- log_message = f"Error with id {exception_id}\n{stacktrace}"
+ log_message = f"Error with id {exception_id}, statement:
{exc.statement}\n{stacktrace}"
Review Comment:
Hey @pierrejeambrun resolving this, please reopen if you have a differing
opinion on this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]