Fix bug: no newline after exception message in some tools

This commit is contained in:
Alexey Milovidov 2020-12-24 00:18:08 +03:00
parent b931a153bd
commit bb4668fd6e
2 changed files with 2 additions and 2 deletions
programs
compressor
format

View File

@ -155,7 +155,7 @@ int mainEntryClickHouseCompressor(int argc, char ** argv)
} }
catch (...) catch (...)
{ {
std::cerr << getCurrentExceptionMessage(true); std::cerr << getCurrentExceptionMessage(true) << '\n';
return getCurrentExceptionCode(); return getCurrentExceptionCode();
} }

View File

@ -142,7 +142,7 @@ int mainEntryClickHouseFormat(int argc, char ** argv)
} }
catch (...) catch (...)
{ {
std::cerr << getCurrentExceptionMessage(true); std::cerr << getCurrentExceptionMessage(true) << '\n';
return getCurrentExceptionCode(); return getCurrentExceptionCode();
} }