coopernurse/gorp — pull request #83 by zsombor (2013-09-12 12:01:19+00:00)
Title: Don't swallow useful PostgreSQL errors when INSERT fails for some reason...

Some of my inserts where failing due to not-null constraints. Instead of getting a helpful message, Gorp changed it to an opaque:

> No serial value returned for insert: nasty_autogenerated_sql_goes_here

This change will append the low level postgres message, allowing you to actually diagnose the problem.