diff options
author | svkrasnov <svkrasnov@yandex-team.ru> | 2022-03-26 13:19:59 +0300 |
---|---|---|
committer | svkrasnov <svkrasnov@yandex-team.ru> | 2022-03-26 13:19:59 +0300 |
commit | a6c36037482b150ce53f0ac36ba1dc07f8987900 (patch) | |
tree | 0132aaef4d83cd684a829604e87db34f3cb7f16c /util/generic/yexception.cpp | |
parent | 78caba673687bcd49fbf2ce6d097d318282ff002 (diff) | |
download | ydb-a6c36037482b150ce53f0ac36ba1dc07f8987900.tar.gz |
Fix newline formatting in FormatCurrentException()
ref:1aefdabc38ec01ea10f53aa279edaa0dee29380d
Diffstat (limited to 'util/generic/yexception.cpp')
-rw-r--r-- | util/generic/yexception.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/yexception.cpp b/util/generic/yexception.cpp index ee6d6ebe17..cccf44ad50 100644 --- a/util/generic/yexception.cpp +++ b/util/generic/yexception.cpp @@ -72,13 +72,13 @@ void FormatCurrentExceptionTo(IOutputStream& out) { } catch (const std::exception& e) { out << "Caught:\n"; FormatExceptionTo(out, e); + out << "\n"; #ifdef _YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE - out << "\n\n"; FormatBackTraceTo(out, backtrace); #endif return; } catch (...) { - out << "unknown error"; + out << "unknown error\n"; return; } } |