Better log error messages
Merge pull request #39 from dsheets/log-errors

Better log error messages