Skip to content

Commit

Permalink
Merge pull request discoproject#276 from pmundkur/patches/issue267
Browse files Browse the repository at this point in the history
Attribute task failure messages to the correct host. fixes discoproject#267.
  • Loading branch information
Ville Tuulos committed Sep 22, 2011
2 parents 28900d0 + 80da542 commit bbaeb11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion master/src/job_coordinator.erl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ wait_workers(N, Results, Mode) ->
{{error, Error}, Task, Host} ->
event_server:task_event(Task,
{<<"WARNING">>, Error},
{task_failed, Task#task.mode}),
{task_failed, Task#task.mode},
Host),
handle_data_error(Task, Host),
{N, Results};
{{fatal, Error}, Task, Host} ->
Expand Down

0 comments on commit bbaeb11

Please sign in to comment.