mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 16:51:30 +00:00
NOISSUE Add extra warning to exit code logging
This commit is contained in:
@@ -92,6 +92,8 @@ void LoggedProcess::on_exit(int exit_code, QProcess::ExitStatus status)
|
||||
bool hasNameOrDescription = Sys::lookupSystemStatusCode(u_exit_code, statusName, statusDescription);
|
||||
if(hasNameOrDescription)
|
||||
{
|
||||
emit log({tr("Below is an analysis of the exit code. THIS MAY BE INCORRECT AND SHOULD BE TAKEN WITH A GRAIN OF SALT!")}, MessageLevel::Launcher);
|
||||
|
||||
if(!statusName.empty())
|
||||
{
|
||||
emit log({tr("System exit code name: %1").arg(QString::fromStdString(statusName))}, MessageLevel::Launcher);
|
||||
|
Reference in New Issue
Block a user