tirkarthi opened a new issue, #47921: URL: https://github.com/apache/airflow/issues/47921
### Apache Airflow version main (development) ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? stacktrace for exceptions from Python is present as part of extra key in `error_detail` and is not formatted making it hard to read the stacktrace.  ### What you think should happen instead? _No response_ ### How to reproduce ```python from __future__ import annotations from datetime import datetime from airflow import DAG from airflow.decorators import task with DAG( dag_id="exception_stacktracen", start_date=datetime(2025, 2, 1), catchup=False, schedule=None, ) as dag: @task def error(**context): 1 / 0 error() ``` ### Operating System Ubuntu 20.04 ### Versions of Apache Airflow Providers _No response_ ### Deployment Virtualenv installation ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
