mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Merge pull request #59335 from kitaisreal/volume-constructor-improve-exception-message
IVolume constructor improve exception message
This commit is contained in:
commit
f22762fcdc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user