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()
|
timeDelta = currentDateTimeValue.toPython() - self.lastCheckedForUpdates.toPython()
|
||||||
if timeDelta.total_seconds() > constants.AUTOMATIC_UPDATE_CHECK_FREQUENCY:
|
if timeDelta.total_seconds() > constants.AUTOMATIC_UPDATE_CHECK_FREQUENCY:
|
||||||
self.checkForUpdates()
|
self.checkForUpdates()
|
||||||
except:
|
except Exception as e:
|
||||||
self.showDebugMessage("Automatic check for updates failed. An update check was manually trigggered.")
|
self.showDebugMessage("Automatic check for updates failed. An update check was manually trigggered. Reason: {}".format(str(e)))
|
||||||
self.checkForUpdates()
|
self.checkForUpdates()
|
||||||
|
|
||||||
def userCheckForUpdates(self):
|
def userCheckForUpdates(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user