Fixes #4

This is one approach, but I think I'd much rather have an error log option. I'll submit a PR for that as well and you can decide which approach you like better.