mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
parent
f145b494c0
commit
6b32271b88
@ -25,8 +25,7 @@ void checkResultCodeImpl(int code, const String & filename)
|
|||||||
{
|
{
|
||||||
if (code == ARCHIVE_OK)
|
if (code == ARCHIVE_OK)
|
||||||
return;
|
return;
|
||||||
String message = "LibArchive Code = " + std::to_string(code);
|
throw Exception(ErrorCodes::CANNOT_PACK_ARCHIVE, "Couldn't pack archive: LibArchive Code = {}, filename={}", code, quoteString(filename));
|
||||||
throw Exception(ErrorCodes::CANNOT_PACK_ARCHIVE, "Couldn't pack archive: {}, filename={}", message, quoteString(filename));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user