Fix error reporting.
Merge pull request #3 from pmclanahan/im-dumb

Fix error reporting.