Catch SyntaxError exception and log nice error message
Merge branch 'master' of https://github.com/grz0/appium