A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Mail fetching: Only catch internal errors
Erik Arvstedtaa2fc84d7f8c
diff --git a/src/documents/mail.py b/src/documents/mail.pyindex d2828a57c..7cc417bfd 100644--- a/src/documents/mail.py+++ b/src/documents/mail.py@@ -20,7 +20,7 @@ class MailFetcherError(Exception):pass-class InvalidMessageError(Exception):+class InvalidMessageError(MailFetcherError):pass@@ -205,7 +205,7 @@ class MailFetcher(Loggable):self._connection.close()self._connection.logout()- except Exception as e:+ except MailFetcherError as e:self.log("error", str(e))return r