summaryrefslogtreecommitdiff
path: root/src/rabbit_basic.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-05-03 17:48:55 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-05-03 17:48:55 +0100
commitcb002060e32741c5c250cdbf676e62ba71e5c9d1 (patch)
treef168923cd64d950523b3ff5d78a4257482e4e071 /src/rabbit_basic.erl
parentfecdf8e522bffd744be255d5f12ec808db0a0fa7 (diff)
parentfb604e2a894d52613859a5dc7a21a5ef0ecb108b (diff)
downloadrabbitmq-server-cb002060e32741c5c250cdbf676e62ba71e5c9d1.tar.gz
Merge bug 24901
Diffstat (limited to 'src/rabbit_basic.erl')
-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 17d848da..734456d3 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]).