Skip to content

Commit

Permalink
changed 'task name' of workflow-level errors (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsasch committed Apr 25, 2019
1 parent bdbb64d commit 3c782d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

## v0.7.2 Release Notes

### Improved the clarity of workflow-level errors.

### Fixed incorrectly translated job attempt status from Cromwell backend.

### Fixed incorrect tooltip for standard out log.

### Added customized favicon.
>>>>>>> master
## v0.7.1 Release Notes

Expand Down
2 changes: 1 addition & 1 deletion servers/cromwell/jobs/controllers/jobs_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def format_task_failure(task_name, metadata):


def format_workflow_failure(failures):
return FailureMessage(task_name=failures.get('message'),
return FailureMessage('Workflow Error',
failure=failures.get('causedBy')[0].get('message'))


Expand Down
2 changes: 1 addition & 1 deletion servers/cromwell/jobs/test/test_jobs_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def _request_callback(request, context):
},
'failures': [{
'failure': 'Task test.analysis failed',
'taskName': 'Workflow failed'
'taskName': 'Workflow Error'
}]
} # yapf: disable
self.assertDictEqual(response_data, expected_data)
Expand Down

0 comments on commit 3c782d0

Please sign in to comment.