Redo fix for exceptions in fold operations
This commit is contained in:
parent
41cc2a9196
commit
bfb8f3f783
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ receive_fold_range(MRef, PID,Fun,Acc0) ->
|
|||
Class:Exception ->
|
||||
% io:format(user, "Exception in hanoi fold: ~p ~p", [Exception, erlang:get_stacktrace()]),
|
||||
% lager:warn("Exception in hanoi fold: ~p", [Exception]),
|
||||
{'EXIT', Class, Exception}
|
||||
{'EXIT', Class, Exception, erlang:get_stacktrace()}
|
||||
end
|
||||
of
|
||||
{ok, Acc1} ->
|
||||
|
|
Loading…
Reference in a new issue