lib/pg_conn.rb in pg_conn-0.3.7 vs lib/pg_conn.rb in pg_conn-0.4.0
- old
+ new
@@ -580,9 +580,10 @@
push_transaction
result = yield
rescue PgConn::Rollback
pop_trancaction(commit: false)
return nil
+ # FIXME: Rescue other postgres errors and wipe-out stack
end
pop_transaction(commit: commit)
result
end