fixes gh-141 - better error handling on not found etc
Merge pull request #14 from jessereynolds/141_error_handling

fixes gh-141 - better error handling on not found etc