diff options
author | abcdef <[email protected]> | 2023-08-14 19:00:56 +0300 |
---|---|---|
committer | abcdef <[email protected]> | 2023-08-15 00:48:48 +0300 |
commit | c032312ae476b7a110e5f4bde2748f3e20b33b0a (patch) | |
tree | 6bc20a64d73855874eb0949cc1ab95a13497348f | |
parent | a9b9353bb4fa4d7adccf888fe6d915fd0730e46e (diff) |
error message in ydb-cli tests
-rw-r--r-- | ydb/apps/ydb/ut/run_ydb.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ydb/apps/ydb/ut/run_ydb.cpp b/ydb/apps/ydb/ut/run_ydb.cpp index 67d848f01a9..d1ef793821e 100644 --- a/ydb/apps/ydb/ut/run_ydb.cpp +++ b/ydb/apps/ydb/ut/run_ydb.cpp @@ -34,7 +34,11 @@ TString RunYdb(const TList<TString>& args1, const TList<TString>& args2) command.Run().Wait(); if (command.GetExitCode() != 0) { - ythrow yexception() << "command `" << command.GetQuotedCommand() << "` exit with code " << command.GetExitCode(); + ythrow yexception() << Endl << + "command: " << command.GetQuotedCommand() << Endl << + "exitcode: " << command.GetExitCode() << Endl << + "stdout: " << Endl << command.GetOutput() << Endl << + "stderr: " << Endl << command.GetError() << Endl; } return command.GetOutput(); |