Merge pull request #22 from dwbutler/master

More informative exception information in before_commit