VFUK ONW handler: print more information in case of error

This commit is contained in:
Harald Welte 2011-04-14 17:50:09 +02:00
parent fc13de88e9
commit 92acea9084
1 changed files with 3 additions and 1 deletions

View File

@ -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;