fix: Use correct log function for process exit status in onProcessFinished
This commit is contained in:
committed by
Chris Rizzitello
parent
9cf25c4caf
commit
78b83c5639
@ -6,7 +6,6 @@
|
||||
|
||||
#include "CoreProcess.h"
|
||||
|
||||
#include "base/Log.h"
|
||||
#include "common/ExitCodes.h"
|
||||
#include "common/Settings.h"
|
||||
#include "gui/ipc/DaemonIpcClient.h"
|
||||
@ -211,7 +210,11 @@ void CoreProcess::onProcessFinished(int exitCode, QProcess::ExitStatus)
|
||||
return;
|
||||
}
|
||||
|
||||
LOG_IPC("desktop process exited with code: %d", exitCode);
|
||||
if (exitCode != s_exitSuccess) {
|
||||
qWarning("desktop process exited with code: %d", exitCode);
|
||||
} else {
|
||||
qDebug("desktop process exited normally");
|
||||
}
|
||||
|
||||
if (const auto wasStarted = m_processState == Started; wasStarted) {
|
||||
qDebug("desktop process was running, retrying in %d ms", kRetryDelay);
|
||||
|
||||
Reference in New Issue
Block a user