Update consumer.py

This commit is contained in:
shamoon 2025-06-26 14:41:39 -07:00
parent 3c4225979e
commit ba91bb154a
No known key found for this signature in database

View 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.