add error handling
Merge branch 'master' of https://github.com/jpoyzner/Mapreport.git