diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py index 443ef0bb78..9009d281c3 100644 --- a/parsl/dataflow/dflow.py +++ b/parsl/dataflow/dflow.py @@ -289,7 +289,7 @@ def handle_exec_update(self, task_id, future): logger.debug("Task {} try {} failed".format(task_id, task_record['try_id'])) # We keep the history separately, since the future itself could be # tossed. - task_record['fail_history'].append(str(e)) + task_record['fail_history'].append(repr(e)) task_record['fail_count'] += 1 if task_record['status'] == States.dep_fail: @@ -368,7 +368,7 @@ def handle_join_update(self, outer_task_id, inner_app_future): logger.debug("Task {} failed due to failure of inner join future".format(outer_task_id)) # We keep the history separately, since the future itself could be # tossed. - task_record['fail_history'].append(str(e)) + task_record['fail_history'].append(repr(e)) task_record['fail_count'] += 1 task_record['status'] = States.failed