Fix consumer error typo

This commit is contained in:
shamoon 2023-09-01 00:11:32 -07:00
parent e14f4c94c2
commit 61566a34d1
2 changed files with 2 additions and 2 deletions

View File

@ -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,
)

View File

@ -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,
)