Permalink
Browse files

Return right accumulator on worker exit error

  • Loading branch information...
1 parent 03c741d commit 8a0d42dc6c9229aec6d4888944907a732c601be0 @fdmanana fdmanana committed Apr 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/view_query_perf.erl
View
@@ -54,7 +54,8 @@ main(_ArgsList) ->
{'DOWN', Ref, process, Pid, Reason} ->
io:format(standard_error,
"[ERROR] Worker ~p died with reason: ~p~n~n",
- [Pid, Reason])
+ [Pid, Reason]),
+ Acc
end
end,
[], WorkerPids),

0 comments on commit 8a0d42d

Please sign in to comment.