A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix consumer error typo
shamoon61566a34d135
diff --git a/src/documents/consumer.py b/src/documents/consumer.pyindex 59c4b7d85..08d073a4b 100644--- a/src/documents/consumer.py+++ b/src/documents/consumer.py@@ -552,7 +552,7 @@ class Consumer(LoggingMixin):self._fail(str(e),f"The following error occurred while storing document "- f"{self.filename} after consuming: {e}",+ f"{self.filename} after parsing: {e}",exc_info=True,exception=e,)diff --git a/src/documents/tests/test_consumer.py b/src/documents/tests/test_consumer.pyindex a9cb887de..f0e5421cf 100644--- a/src/documents/tests/test_consumer.py+++ b/src/documents/tests/test_consumer.py@@ -551,7 +551,7 @@ class TestConsumer(DirectoriesMixin, FileSystemAssertsMixin, TestCase):self.assertRaisesMessage(ConsumerError,- "sample.pdf: The following error occurred while storing document sample.pdf after consuming: NO.",+ "sample.pdf: The following error occurred while storing document sample.pdf after parsing: NO.",self.consumer.try_consume_file,filename,)