diff --git a/src/documents/consumer.py b/src/documents/consumer.py index d55fcf5fa..3c814492a 100644 --- a/src/documents/consumer.py +++ b/src/documents/consumer.py @@ -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.