aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-04-14 17:50:09 +0200
committerHarald Welte <laforge@gnumonks.org>2011-04-14 17:50:09 +0200
commit92acea908422470355da30ef1c17e250e8652b5d (patch)
tree0696d36cc09d683cd1f0d9c10aa7ddd2dbdd9c31
parentfc13de88e92124dbd3b61259c853f65e9895a5f5 (diff)
VFUK ONW handler: print more information in case of error
-rw-r--r--src/mgw_nat_act_vfuk_onw.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mgw_nat_act_vfuk_onw.erl b/src/mgw_nat_act_vfuk_onw.erl
index 109485c..1224bd4 100644
--- a/src/mgw_nat_act_vfuk_onw.erl
+++ b/src/mgw_nat_act_vfuk_onw.erl
@@ -35,7 +35,9 @@ rewrite_actor(sctp, From, Path, 2, DataBin) ->
catch error:Error ->
% some parser error, simply forward msg unmodified
error_logger:error_report([{error, Error},
- {stacktrace, erlang:get_stacktrace()}]),
+ {stacktrace, erlang:get_stacktrace()},
+ {from, From}, {path, Path},
+ {data_bin, DataBin}]),
DataBin
end;