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:
parent
a00d3dff19
commit
0571819135
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user