From bfb8f3f783df597cf0a4a3d214facb0060d84db2 Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Wed, 2 May 2012 17:15:13 +0200 Subject: [PATCH] Redo fix for exceptions in fold operations --- src/hanoi.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hanoi.erl b/src/hanoi.erl index 26486cf..930b563 100644 --- a/src/hanoi.erl +++ b/src/hanoi.erl @@ -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} ->