potiuk commented on code in PR #58209:
URL: https://github.com/apache/airflow/pull/58209#discussion_r2530100540
##########
airflow-core/src/airflow/api_fastapi/execution_api/app.py:
##########
@@ -218,7 +218,7 @@ def custom_generate_unique_id(route: APIRoute):
@app.exception_handler(Exception)
def handle_exceptions(request: Request, exc: Exception):
logger.exception("Handle died with an error", exc_info=(type(exc),
exc, exc.__traceback__))
- content = {"message": "Internal server error"}
+ content = {"message": "Internal server error", "details": str(exc) or
""}
Review Comment:
We are simply true believers in "better ask for forgiveness than permission"
-> no permission needed to create PR, but it's ok to have PR that is not good
and nobody complains about it (except that you will be asked to change it).
--
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]