Skip to content

Commit

Permalink
IVolume constructor improve exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
kitaisreal committed Jan 29, 2024
1 parent a51aa7b commit 5affd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Disks/IVolume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ IVolume::IVolume(
}

if (disks.empty())
throw Exception(ErrorCodes::NO_ELEMENTS_IN_CONFIG, "Volume must contain at least one disk");
throw Exception(ErrorCodes::NO_ELEMENTS_IN_CONFIG, "Volume {} must contain at least one disk", name);
}

std::optional<UInt64> IVolume::getMaxUnreservedFreeSpace() const
Expand Down

0 comments on commit 5affd6a

Please sign in to comment.