updated try/catch blocks
Merge pull request #3 from mjhea0/master

updated try/catch blocks