]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update consumer.py
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 26 Jun 2025 21:41:39 +0000 (14:41 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Thu, 26 Jun 2025 21:41:39 +0000 (14:41 -0700)
src/documents/consumer.py

index d55fcf5fa13d5f2c36ea5e5e78aa4b11ad4a0183..3c814492a051bf2c086a9f4be19483f9f05d9997 100644 (file)
@@ -469,6 +469,7 @@ class ConsumerPlugin(
         # in the system. This will be a transaction and reasonably fast.
         success = False
         result = None
+        store_exception = None
         try:
             with transaction.atomic():
                 # store the document.