Clarify warning message

This commit is contained in:
Luke Bakken 2021-12-19 07:06:38 -08:00 committed by Michael Klishin
parent fe8ae3c713
commit eecfa0a1e9
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
1 changed files with 3 additions and 1 deletions

View File

@ -236,7 +236,9 @@ get_disk_free(Dir, {win32, _}) ->
% "c:/Users/username/AppData/Roaming/RabbitMQ/db/rabbit2@username-z01-mnesia"
case win32_get_drive_letter(Dir) of
error ->
rabbit_log:warning("Mnesia directory is not in the expected format (C:): '~p'", [Dir]),
rabbit_log:warning("Expected the mnesia directory absolute "
"path to start with a drive letter like "
"'C:'. The path is: '~p'", [Dir]),
case win32_get_disk_free_dir(Dir) of
{ok, Free} ->
Free;