Commit 09684f9f authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Do not log in transaction decorator

parent 322724d4
......@@ -33,9 +33,6 @@
from django.db import transaction
import logging
logger = logging.getLogger(__name__)
def commit_on_success_strict(**kwargs):
......@@ -47,7 +44,6 @@ def commit_on_success_strict(**kwargs):
transaction.commit()
return result
except BaseException as e:
logger.exception(e)
transaction.rollback()
raise
return inner
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment