1
0
mirror of https://github.com/Syncplay/syncplay synced 2025-03-11 06:07:53 +00:00

Add detail to GuiConfig update check failure log

This commit is contained in:
Etoh 2023-03-19 15:14:36 +00:00 committed by GitHub
parent a00d3dff19
commit 0571819135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):