Skip to content

Commit

Permalink
Updater:Mac: Show tar stderr if it fails
Browse files Browse the repository at this point in the history
  • Loading branch information
TellowKrinkle committed Nov 4, 2023
1 parent e9afe39 commit 4fcbee9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pcsx2-qt/AutoUpdaterDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,9 @@ bool AutoUpdaterDialog::processUpdate(const QByteArray& update_data, QProgressDi
progress.setValue(progress.maximum());
if (untar.exitCode() != EXIT_SUCCESS)
{
reportError("Failed to unpack update (tar exited with %u)", untar.exitCode());
QByteArray msg = untar.readAllStandardError();
const char* join = msg.isEmpty() ? "" : ": ";
reportError("Failed to unpack update (tar exited with %u%s%s)", untar.exitCode(), join, msg.toStdString().c_str());
return false;
}

Expand Down

0 comments on commit 4fcbee9

Please sign in to comment.