mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
fixes #222
This commit is contained in:
parent
a0f983f05d
commit
208f4291d6
3 changed files with 4 additions and 4 deletions
|
|
@ -158,7 +158,7 @@ class Consumer(LoggingMixin):
|
|||
try:
|
||||
classifier = DocumentClassifier()
|
||||
classifier.reload()
|
||||
except (FileNotFoundError, IncompatibleClassifierVersionError) as e:
|
||||
except (OSError, EOFError, IncompatibleClassifierVersionError) as e:
|
||||
self.log(
|
||||
"warning",
|
||||
f"Cannot classify documents: {e}.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue