github-actions[bot] opened a new pull request, #71491: URL: https://github.com/apache/airflow/pull/71491
* Include server error detail in Task SDK API error tracebacks Internal SDK API errors keep the server's error payload as structured detail behind a generic "Server returned error" message, so the detail only reached the logs where a handler logged it explicitly. When such an error propagated uncaught to a generic logger (e.g. the executor), the traceback showed only the generic message and the detail was lost. Attaching the detail as an exception note — like the existing correlation-id note — makes it visible in those tracebacks too. * Update task-sdk/src/airflow/sdk/api/client.py Co-authored-by: Amogh Desai <[email protected]> * Update task-sdk/tests/task_sdk/api/test_client.py Co-authored-by: Amogh Desai <[email protected]> * Fix over-indented test docstring breaking the static check The docstring was indented one space too deep, so the following line unindented to a level that doesn't match, failing the mypy syntax check. --------- (cherry picked from commit ede958a38d025049f28b570d9e6629192c243b8d) Co-authored-by: Pierre Jeambrun <[email protected]> Co-authored-by: Amogh Desai <[email protected]> -- 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]
