Redo fix for exceptions in fold operations

This commit is contained in:
Kresten Krab Thorup 2012-05-02 17:15:13 +02:00
parent 41cc2a9196
commit bfb8f3f783

View file

@ -126,7 +126,7 @@ receive_fold_range(MRef, PID,Fun,Acc0) ->
Class:Exception -> Class:Exception ->
% io:format(user, "Exception in hanoi fold: ~p ~p", [Exception, erlang:get_stacktrace()]), % io:format(user, "Exception in hanoi fold: ~p ~p", [Exception, erlang:get_stacktrace()]),
% lager:warn("Exception in hanoi fold: ~p", [Exception]), % lager:warn("Exception in hanoi fold: ~p", [Exception]),
{'EXIT', Class, Exception} {'EXIT', Class, Exception, erlang:get_stacktrace()}
end end
of of
{ok, Acc1} -> {ok, Acc1} ->