mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-04-01 10:20:11 +00:00
NOISSUE Add extra warning to exit code logging
This commit is contained in:
parent
cbe6d0dbfd
commit
aebd9aa745
@ -92,6 +92,8 @@ void LoggedProcess::on_exit(int exit_code, QProcess::ExitStatus status)
|
|||||||
bool hasNameOrDescription = Sys::lookupSystemStatusCode(u_exit_code, statusName, statusDescription);
|
bool hasNameOrDescription = Sys::lookupSystemStatusCode(u_exit_code, statusName, statusDescription);
|
||||||
if(hasNameOrDescription)
|
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())
|
if(!statusName.empty())
|
||||||
{
|
{
|
||||||
emit log({tr("System exit code name: %1").arg(QString::fromStdString(statusName))}, MessageLevel::Launcher);
|
emit log({tr("System exit code name: %1").arg(QString::fromStdString(statusName))}, MessageLevel::Launcher);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user