Added correct error handling
Merge branch 'master' of https://github.com/forflo/archfai