summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2012-04-23 13:49:17 +0100
committerEmile Joubert <emile@rabbitmq.com>2012-04-23 13:49:17 +0100
commitfb604e2a894d52613859a5dc7a21a5ef0ecb108b (patch)
tree301ccd9d7d116ee92e78bf8f8c17294a6ad95c6d /src
parent31dece5bbc7d7832f3766f23e9d99d891df4e75e (diff)
downloadrabbitmq-server-fb604e2a894d52613859a5dc7a21a5ef0ecb108b.tar.gz
Reorder exception contentsbug24901
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_basic.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl
index 8ad59016..6b4120d3 100644
--- a/src/rabbit_basic.erl
+++ b/src/rabbit_basic.erl
@@ -224,6 +224,5 @@ header_routes(HeadersTable) ->
{array, Routes} -> [Route || {longstr, Route} <- Routes];
undefined -> [];
{Type, _Val} -> throw({error, {unacceptable_type_in_header,
- Type,
- binary_to_list(HeaderKey)}})
+ binary_to_list(HeaderKey), Type}})
end || HeaderKey <- ?ROUTING_HEADERS]).