potiuk commented on code in PR #58209:
URL: https://github.com/apache/airflow/pull/58209#discussion_r2530096923
##########
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:
Yeah. We often skim over issues, but look deeper in PRs - because **code**
is what matters. That's why we have absolutley no expectations whatsoever to
have issues opened before PRs are created. Next time - just open PR.
--
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]