added catch
Merge pull request #6 from jgravois/catch-no-datastore

added catch