From 92acea908422470355da30ef1c17e250e8652b5d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 14 Apr 2011 17:50:09 +0200 Subject: [PATCH] VFUK ONW handler: print more information in case of error --- src/mgw_nat_act_vfuk_onw.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;