This commit is contained in:
michplunkett
2025-03-14 22:48:36 -05:00
parent a7a5b16ae6
commit 05e3755d65
2 changed files with 7 additions and 3 deletions

View File

@@ -26,7 +26,8 @@ def get_status(
try:
if task.status == "FAILURE":
# *FAILURE* The task raised an exception, or has exceeded the retry limit.
# The :attr:`result` attribute then contains the exception raised by the task.
# The :attr:`result` attribute then contains the exception raised by
# the task.
# https://docs.celeryq.dev/en/stable/_modules/celery/result.html#AsyncResult
raise task.result