Add a bit more context for primary key exceptions.
Merge pull request #74 from wzph/master

Add a bit more context for primary key exceptions.