From 1902f8ee86913338e10c55d60bab032111ec1b03 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 1 Jul 2009 13:23:57 +0100 Subject: better exception tag --- src/rabbit_basic.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl index 4b8a388f..2dc619c1 100644 --- a/src/rabbit_basic.erl +++ b/src/rabbit_basic.erl @@ -92,7 +92,7 @@ properties(P) when is_list(P) -> %% possible! lists:foldl(fun ({Key, Value}, Acc) -> case indexof(record_info(fields, 'P_basic'), Key) of - 0 -> throw({unknown_P_basic_property_name, Key}); + 0 -> throw({unknown_basic_property, Key}); N -> setelement(N + 1, Acc, Value) end end, #'P_basic'{}, P). -- cgit v1.2.1