diff options
author | Matthias Radestock <matthias@lshift.net> | 2009-07-01 13:23:57 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2009-07-01 13:23:57 +0100 |
commit | 1902f8ee86913338e10c55d60bab032111ec1b03 (patch) | |
tree | 9f7925f6078b1240e05f55d4dba8b5fc95b5ef76 | |
parent | f677e7a04608fac21fb25f4b83446579cbf36372 (diff) | |
download | rabbitmq-server-bug21060.tar.gz |
better exception tagbug21060
-rw-r--r-- | src/rabbit_basic.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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). |