Added a debug log message to ApplicationUpdater if not enough time has passed since the last run.

This commit is contained in:
Leon Styhre 2023-02-18 13:05:55 +01:00
parent 70e8b9b750
commit 9404fe5d90

View file

@ -76,6 +76,10 @@ void ApplicationUpdater::checkForUpdates()
LOG(LogInfo) << "Checking for application updates...";
mThread = std::make_unique<std::thread>(&ApplicationUpdater::updaterThread, this);
}
else {
LOG(LogDebug) << "ApplicationUpdater::checkForUpdates(): Skipping check as not enough time "
"has passed since the last run";
}
}
void ApplicationUpdater::updaterThread()