mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-12 17:04:40 -05:00
Update consumer.py
This commit is contained in:
parent
3c4225979e
commit
ba91bb154a
@ -469,6 +469,7 @@ class ConsumerPlugin(
|
|||||||
# in the system. This will be a transaction and reasonably fast.
|
# in the system. This will be a transaction and reasonably fast.
|
||||||
success = False
|
success = False
|
||||||
result = None
|
result = None
|
||||||
|
store_exception = None
|
||||||
try:
|
try:
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
# store the document.
|
# store the document.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user