Merge pull request #18444 from ClickHouse/small-improvements

Fix bug: no newline after exception message in some tools
This commit is contained in:
alexey-milovidov 2020-12-24 11:41:52 +03:00 committed by GitHub
commit 23c4c0198d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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();
} }