aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorudovichenko-r <rvu@ydb.tech>2022-09-12 16:06:36 +0300
committerudovichenko-r <rvu@ydb.tech>2022-09-12 16:06:36 +0300
commit60f8cb5b40b52b971d77f30e6f3ad7aea166736c (patch)
tree5289da5bb596fc0571c79ca06d82c6ce5304fa32
parent9802fa17514d52a31b973dcf331fc3a850808100 (diff)
downloadydb-60f8cb5b40b52b971d77f30e6f3ad7aea166736c.tar.gz
[yql] More info when 'strip' failed
-rw-r--r--ydb/library/yql/core/file_storage/file_storage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/core/file_storage/file_storage.cpp b/ydb/library/yql/core/file_storage/file_storage.cpp
index 1946c43556..a507ce9f6e 100644
--- a/ydb/library/yql/core/file_storage/file_storage.cpp
+++ b/ydb/library/yql/core/file_storage/file_storage.cpp
@@ -117,7 +117,7 @@ public:
TShellCommand cmd("strip", {file, "-o", dstPath.GetPath()});
cmd.Run().Wait();
if (*cmd.GetExitCode() != 0) {
- ythrow yexception() << cmd.GetError();
+ ythrow yexception() << "'strip' exited with " << *cmd.GetExitCode() << "code. Stedrr: " << cmd.GetError();
}
md5 = MD5::File(dstPath.GetPath());
size = TFile(dstPath.GetPath(), OpenExisting | RdOnly).GetLength();