Skip to content

Commit

Permalink
Update patter match
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonUnge committed May 22, 2024
1 parent 9bb3016 commit 48ca1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_amqp_management.erl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ handle_http_req(HttpMethod = <<"PUT">>,
%% Must have been created in the meantime. Loop around again.
handle_http_req(HttpMethod, PathSegments, Query, ReqPayload,
Vhost, User, ConnPid, {PermCache2, TopicPermCache});
{protocol_error, precondition_failed = _ErrorType, Reason, ReasonArgs} ->
{protocol_error, precondition_failed = _ErrorType, Reason, [_QueueName, _VHost, _Limit] = ReasonArgs} ->
throw(<<"403">>,
Reason,
ReasonArgs);
Expand Down

0 comments on commit 48ca1f2

Please sign in to comment.