fix(data-integrity): remove session.rollback() calls from ProjectRepository
This commit is contained in:
@@ -174,7 +174,6 @@ class ProjectRepository:
|
||||
project.id = db_project.id # type: ignore
|
||||
return project
|
||||
except (OperationalError, SQLAlchemyDatabaseError) as e:
|
||||
self.session.rollback()
|
||||
raise DatabaseError(f"Failed to create project: {e}") from e
|
||||
|
||||
@database_retry
|
||||
|
||||
Reference in New Issue
Block a user