mirror of https://github.com/Syncplay/syncplay
Add detail to client update check failure message
This commit is contained in:
parent
a47c4956f7
commit
a00d3dff19
|
@ -1124,8 +1124,8 @@ class SyncplayClient(object):
|
||||||
publicServers = ast.literal_eval(publicServers)
|
publicServers = ast.literal_eval(publicServers)
|
||||||
return response["version-status"], response["version-message"] if "version-message" in response\
|
return response["version-status"], response["version-message"] if "version-message" in response\
|
||||||
else None, response["version-url"] if "version-url" in response else None, publicServers
|
else None, response["version-url"] if "version-url" in response else None, publicServers
|
||||||
except:
|
except Exception as e:
|
||||||
return "failed", getMessage("update-check-failed-notification").format(syncplay.version), constants.SYNCPLAY_DOWNLOAD_URL, None
|
return "failed", str(e)+"\n-----\n"+getMessage("update-check-failed-notification").format(syncplay.version), constants.SYNCPLAY_DOWNLOAD_URL, None
|
||||||
|
|
||||||
class _WarningManager(object):
|
class _WarningManager(object):
|
||||||
def __init__(self, player, userlist, ui, client):
|
def __init__(self, player, userlist, ui, client):
|
||||||
|
|
Loading…
Reference in New Issue