added a catch case
Merge pull request #3 from bjacobel/brian

added a catch case