From 5c68177960bf70ad515546bdada12dd8cf0fe0fe Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 13 Feb 2025 20:01:29 -0800 Subject: [PATCH] Update tasks.py --- src/documents/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/tasks.py b/src/documents/tasks.py index 8b13ce925..a798e3326 100644 --- a/src/documents/tasks.py +++ b/src/documents/tasks.py @@ -128,7 +128,7 @@ def train_classifier(*, scheduled=True): except Exception as e: logger.warning("Classifier error: " + str(e)) - task.status = states.FAILED + task.status = states.FAILURE task.result = str(e)