diff options
author | Anders Svensson <[email protected]> | 2015-03-26 23:07:59 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-03-27 13:52:29 +0100 |
commit | 39acfdb005626ae1bf2f68808f9e8116637c7121 (patch) | |
tree | c3df585522fa464f2004ee839f6767ba1604ff65 /lib/diameter/include | |
parent | 7edb0dd681b09df8865855eda1150e4a92b54a0a (diff) | |
download | otp-39acfdb005626ae1bf2f68808f9e8116637c7121.tar.gz otp-39acfdb005626ae1bf2f68808f9e8116637c7121.tar.bz2 otp-39acfdb005626ae1bf2f68808f9e8116637c7121.zip |
Remove potentially large error reason in call to diameter_lib:log/4
The function is intended to be traced on, to see abnormalities (mostly)
without producing excessive output. In the case of decode failure, the
error reason can be things like {badmatch, HugeBinary}.
Missed in commit 0058430.
Diffstat (limited to 'lib/diameter/include')
-rw-r--r-- | lib/diameter/include/diameter_gen.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/include/diameter_gen.hrl b/lib/diameter/include/diameter_gen.hrl index 8272904856..0eef218a07 100644 --- a/lib/diameter/include/diameter_gen.hrl +++ b/lib/diameter/include/diameter_gen.hrl @@ -395,7 +395,7 @@ d(false, Reason, Name, Avp, {Avps, Acc}) -> diameter_lib:log(decode_error, ?MODULE, ?LINE, - {Reason, Name, Avp#diameter_avp.name, Stack}), + {Name, Avp#diameter_avp.name, Stack}), {Rec, Failed} = Acc, {[Avp|Avps], {Rec, [rc(Reason, Avp) | Failed]}}. |