mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-07 19:08:32 -05:00
Update tasks.py
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user