mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Update tasks.py
This commit is contained in:
parent
7a4666783e
commit
5c68177960
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user