Skip to content

Commit 951fa66

Browse files
Merge pull request #11326 from rabbitmq/mergify/bp/v3.12.x/pr-11323
Make rabbit_misc:which_applications/0 more resilient (backport #11322) (backport #11323)
2 parents 5b97756 + 70cce45 commit 951fa66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit_common/src/rabbit_misc.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,8 +1141,8 @@ rabbitmq_and_erlang_versions() ->
11411141
which_applications() ->
11421142
try
11431143
application:which_applications(10000)
1144-
catch
1145-
exit:{timeout, _} -> []
1144+
catch _:_:_Stacktrace ->
1145+
[]
11461146
end.
11471147

11481148
sequence_error([T]) -> T;

0 commit comments

Comments
 (0)