mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
IVolume constructor improve exception message
This commit is contained in:
parent
a51aa7b668
commit
5affd6af2e
@ -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