Update tasks.py

This commit is contained in:
shamoon 2025-02-13 20:01:29 -08:00
parent 7a4666783e
commit 5c68177960

View File

@ -128,7 +128,7 @@ def train_classifier(*, scheduled=True):
except Exception as e: except Exception as e:
logger.warning("Classifier error: " + str(e)) logger.warning("Classifier error: " + str(e))
task.status = states.FAILED task.status = states.FAILURE
task.result = str(e) task.result = str(e)