From 483930d351c58002cb39a8869f35de493acb1260 Mon Sep 17 00:00:00 2001 From: Nathan Miller Date: Fri, 10 May 2024 09:18:41 -0700 Subject: [PATCH] print current directory on 7z command failure --- Utils/ArchiveExtractor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Utils/ArchiveExtractor.cpp b/Utils/ArchiveExtractor.cpp index b45fc2a1..3ede3116 100644 --- a/Utils/ArchiveExtractor.cpp +++ b/Utils/ArchiveExtractor.cpp @@ -100,6 +100,7 @@ namespace Utils exitCode != static_cast(e7zExitCode::Warning)) { auto message = "7z command failed (exit code = " + std::to_string(exitCode) + ")"; + message += ", cwd: [" + current_path().string() + "]"; logerror(message); throw std::runtime_error(message.c_str()); //return false;