catch the errors coming from the executeBash commands