From 0571819135ba7ae5d88567316d817648ccb1c272 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 19 Mar 2023 15:14:36 +0000 Subject: [PATCH] Add detail to GuiConfig update check failure log --- syncplay/ui/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index 36c3355..7c10054 100755 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -1902,8 +1902,8 @@ class MainWindow(QtWidgets.QMainWindow): timeDelta = currentDateTimeValue.toPython() - self.lastCheckedForUpdates.toPython() if timeDelta.total_seconds() > constants.AUTOMATIC_UPDATE_CHECK_FREQUENCY: self.checkForUpdates() - except: - self.showDebugMessage("Automatic check for updates failed. An update check was manually trigggered.") + except Exception as e: + self.showDebugMessage("Automatic check for updates failed. An update check was manually trigggered. Reason: {}".format(str(e))) self.checkForUpdates() def userCheckForUpdates(self):