Added try/catch block
Merge branch 'master' of github.com:mantidproject/autoreduce