code: def fetch_task_failures(self):
          
          error_file = os.path.join(self.tmp_dir, "job.err")
          if os.path.isfile(error_file):
              with open(error_file, "r") as f_err:
                  errors = f_err.readlines()
          else:
              errors = ''
          return errors
docs: Read in the error file from bsub