aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/include/diameter_gen.hrl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-09-27 11:49:14 +0200
committerAnders Svensson <[email protected]>2011-09-27 11:49:14 +0200
commit571bc8c6135cb902e7cf9429f1bfad67284f8f23 (patch)
tree31b618935858320435884a80cf868b7cf22d5d42 /lib/diameter/include/diameter_gen.hrl
parent67e216c86754e7076ffdbb87fec8b48ab0d28e56 (diff)
parent1c9017d8970713a24a36929063bcc76a28ae54c5 (diff)
downloadotp-571bc8c6135cb902e7cf9429f1bfad67284f8f23.tar.gz
otp-571bc8c6135cb902e7cf9429f1bfad67284f8f23.tar.bz2
otp-571bc8c6135cb902e7cf9429f1bfad67284f8f23.zip
Merge branch 'dev' into major
Diffstat (limited to 'lib/diameter/include/diameter_gen.hrl')
-rw-r--r--lib/diameter/include/diameter_gen.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/include/diameter_gen.hrl b/lib/diameter/include/diameter_gen.hrl
index 4c91954a21..d037e1044a 100644
--- a/lib/diameter/include/diameter_gen.hrl
+++ b/lib/diameter/include/diameter_gen.hrl
@@ -44,14 +44,14 @@ encode_avps(Name, Rec) ->
?MODULE,
?LINE,
{Reason, Name, Rec}),
- erlang:error(list_to_tuple(Reason ++ [Name, Rec, ?MODULE]));
+ erlang:error(list_to_tuple(Reason ++ [Name]));
error: Reason ->
Stack = erlang:get_stacktrace(),
diameter_dbg:log({encode, failure},
?MODULE,
?LINE,
{Reason, Name, Rec, Stack}),
- erlang:error({encode_failure, Reason, Name, Rec, ?MODULE, Stack})
+ erlang:error({encode_failure, Reason, Name, Stack})
end.
%% encode/2