XD-DENG commented on a change in pull request #14380:
URL: https://github.com/apache/airflow/pull/14380#discussion_r590685699
##########
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:
I assume the purpose of this change is to have trackback info in logs?
If there is other purpose(s) for this change, please clarify so we have full
info. Thanks.
----------------------------------------------------------------
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]