UI: AutoUpdateManager: Warnings for errors

This commit is contained in:
Nodir Temirkhodjaev 2024-04-27 11:06:59 +03:00
parent 5eae7f8ef3
commit 46a7253ffc

View File

@ -146,7 +146,7 @@ void AutoUpdateManager::clearUpdateDir()
if (FileUtil::removePath(m_updatePath)) { if (FileUtil::removePath(m_updatePath)) {
qCDebug(LC) << "Dir removed:" << m_updatePath; qCDebug(LC) << "Dir removed:" << m_updatePath;
} else { } else {
qCDebug(LC) << "Dir remove error:" << m_updatePath; qCWarning(LC) << "Dir remove error:" << m_updatePath;
} }
} }
@ -176,7 +176,7 @@ bool AutoUpdateManager::runInstaller()
const QStringList args = installerArgs(settings); const QStringList args = installerArgs(settings);
if (!QProcess::startDetached(installerPath, args)) { if (!QProcess::startDetached(installerPath, args)) {
qCDebug(LC) << "Run Installer error:" << installerPath << args; qCWarning(LC) << "Run Installer error:" << installerPath << args;
return false; return false;
} }