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.
|
||||
success = False
|
||||
result = None
|
||||
store_exception = None
|
||||
try:
|
||||
with transaction.atomic():
|
||||
# store the document.
|
||||
|
Loading…
x
Reference in New Issue
Block a user