From aebd9aa74571ea8931300fc7cd947995dd2b0bb3 Mon Sep 17 00:00:00 2001 From: Janrupf Date: Fri, 20 May 2022 20:28:25 +0200 Subject: [PATCH] NOISSUE Add extra warning to exit code logging --- launcher/LoggedProcess.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/launcher/LoggedProcess.cpp b/launcher/LoggedProcess.cpp index 6dc34229..625e2a26 100644 --- a/launcher/LoggedProcess.cpp +++ b/launcher/LoggedProcess.cpp @@ -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);