From 9404fe5d9006fe7056397c53d892fa8351bef13c Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 18 Feb 2023 13:05:55 +0100 Subject: [PATCH] Added a debug log message to ApplicationUpdater if not enough time has passed since the last run. --- es-app/src/ApplicationUpdater.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-app/src/ApplicationUpdater.cpp b/es-app/src/ApplicationUpdater.cpp index 48d268e7c..64ba9a928 100644 --- a/es-app/src/ApplicationUpdater.cpp +++ b/es-app/src/ApplicationUpdater.cpp @@ -76,6 +76,10 @@ void ApplicationUpdater::checkForUpdates() LOG(LogInfo) << "Checking for application updates..."; mThread = std::make_unique(&ApplicationUpdater::updaterThread, this); } + else { + LOG(LogDebug) << "ApplicationUpdater::checkForUpdates(): Skipping check as not enough time " + "has passed since the last run"; + } } void ApplicationUpdater::updaterThread()