Skip to content

Commit 6a7303e

Browse files
author
Emile Joubert
committed
Report error better in case disk free check fails
1 parent 92e0772 commit 6a7303e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_disk_monitor.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ init([Limit]) ->
8787
vm_memory_monitor:get_total_memory()} of
8888
{N1, N2} when is_integer(N1), is_integer(N2) ->
8989
{ok, set_disk_limits(State, Limit)};
90-
_ ->
90+
Err ->
9191
rabbit_log:info("Disabling disk free space monitoring "
92-
"on unsupported platform~n"),
92+
"on unsupported platform: ~p~n", [Err]),
9393
{stop, unsupported_platform}
9494
end.
9595

0 commit comments

Comments
 (0)