Permalink
Browse files

Merge pull request #276 from pmundkur/patches/issue267

Attribute task failure messages to the correct host. fixes #267.
  • Loading branch information...
Ville Tuulos
Ville Tuulos committed Sep 22, 2011
2 parents 28900d0 + 80da542 commit bbaeb1102b5de5b8ae9cb04a2b25ddd0f73a9a99
Showing with 2 additions and 1 deletion.
  1. +2 −1 master/src/job_coordinator.erl
@@ -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} ->

0 comments on commit bbaeb11

Please sign in to comment.