Update src/IO/Archives/LibArchiveWriter.cpp

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
josh-hildred 2024-02-21 08:30:01 -05:00 committed by Joshua Hildred
parent f145b494c0
commit 6b32271b88

View File

@ -25,8 +25,7 @@ void checkResultCodeImpl(int code, const String & filename)
{
if (code == ARCHIVE_OK)
return;
String message = "LibArchive Code = " + std::to_string(code);
throw Exception(ErrorCodes::CANNOT_PACK_ARCHIVE, "Couldn't pack archive: {}, filename={}", message, quoteString(filename));
throw Exception(ErrorCodes::CANNOT_PACK_ARCHIVE, "Couldn't pack archive: LibArchive Code = {}, filename={}", code, quoteString(filename));
}
}