Skip to content

Commit a5f8ac4

Browse files
Compiles from scratch
1 parent 278a1fe commit a5f8ac4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/rabbit_definitions.erl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ do_concurrent_for_all(List, WorkPoolFun) ->
352352
fun() ->
353353
try
354354
WorkPoolFun(M)
355-
catch _:E -> gatherer:in(Gatherer, {error, E});
356-
{error, E} -> gatherer:in(Gatherer, {error, E})
355+
catch {error, E} -> gatherer:in(Gatherer, {error, E});
356+
_:E -> gatherer:in(Gatherer, {error, E})
357357
end,
358358
gatherer:finish(Gatherer)
359359
end)
@@ -633,8 +633,6 @@ validate_vhost_queue_limit(VHost, AddCount, {true, Limit, QueueCount}) ->
633633
ErrMsg = rabbit_misc:format(ErrFmt, ErrInfo),
634634
exit({vhost_limit_exceeded, ErrMsg}).
635635

636-
atomise_name(N) -> rabbit_data_coercion:to_atom(N).
637-
638636
get_or_missing(K, L) ->
639637
case maps:get(K, L, undefined) of
640638
undefined -> {key_missing, K};

0 commit comments

Comments
 (0)