When an error occurs with the DB, the exception handler should perform rollback any attempted changes. The fix: - Add `session.rollback()` to every DB exception handler
When an error occurs with the DB, the exception handler should perform rollback any attempted changes.
The fix:
session.rollback()to every DB exception handler