Skip to content

Commit

Permalink
Add detail to GuiConfig update check failure log
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored Mar 19, 2023
1 parent a00d3df commit 0571819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncplay/ui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1902,8 +1902,8 @@ def automaticUpdateCheck(self):
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):
Expand Down

0 comments on commit 0571819

Please sign in to comment.