diff --git a/etiquette/decorators.py b/etiquette/decorators.py index 16ca271..a4bbe79 100644 --- a/etiquette/decorators.py +++ b/etiquette/decorators.py @@ -87,6 +87,7 @@ def transaction(method): try: result = method(self, *args, **kwargs) except Exception as e: + photodb.log.debug(e) photodb.rollback(savepoint=savepoint_id) raise