for common error cases still write out an error
Merge pull request #12 from HubSpot/master

for common error cases still write out an error