haard commented on a change in pull request #14380:
URL: https://github.com/apache/airflow/pull/14380#discussion_r590704917
##########
File path: airflow/executors/celery_executor.py
##########
@@ -116,7 +116,7 @@ def _execute_in_fork(command_to_exec: CommandType) -> None:
args.func(args)
ret = 0
except Exception as e: # pylint: disable=broad-except
- log.error("Failed to execute task %s.", str(e))
+ log.exception("Failed to execute task %s.", str(e))
Review comment:
Yes, this is only to get the stack trace, since otherwise there is very
little to help troubleshooting - I ran with this patch to be able to find the
issue with mixed case env vars at all.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]