Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
If Update.exe exits with -1, include display to potential log file.
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Apr 7, 2022
1 parent daddc02 commit 992ffb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Setup/platform_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ void util::wexec(const wchar_t* cmd)
CloseHandle(pi.hThread);

if (dwExitCode != 0) {
throw wstring(L"Process exited with error code: " + to_wstring(dwExitCode));
throw wstring(L"Process exited with error code: "
+ to_wstring((int32_t)dwExitCode)
+ L". There may be additional logs available at '%localappdata%\\SquirrelClowdTemp\\Squirrel.log'.");
}
}

Expand Down

0 comments on commit 992ffb4

Please sign in to comment.