Skip to content

Commit

Permalink
print current directory on 7z command failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed May 10, 2024
1 parent 9c6dbe3 commit 483930d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Utils/ArchiveExtractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ namespace Utils
exitCode != static_cast<int>(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;
Expand Down

0 comments on commit 483930d

Please sign in to comment.