minor correction to error handling
Merge pull request #415 from dearing/working

minor correction to error handling