fix signup

This commit is contained in:
2025-12-04 10:19:49 +03:00
parent 265e249eaf
commit 005d2f3b6c
2 changed files with 33 additions and 21 deletions

View File

@@ -28,7 +28,7 @@ class DB:
if in_transaction:
conn.commit()
except Exception:
except Exception as e:
if in_transaction and self._connection:
conn.rollback()
finally: