log error messages better
Better error messages

For when we get exceptions.

We also need to catch more errors in the Works controller.
Merge remote-tracking branch 'origin' into hr-errors
we need the new version of amber for this
Merge remote-tracking branch 'origin' into hr-errors
Merge pull request #235 from nla/hr-errors

Error reforms