From a00d3dff1963d9b4d4f4f91d078c3f4e8ae61b56 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 19 Mar 2023 15:13:30 +0000 Subject: [PATCH] Add detail to client update check failure message --- syncplay/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/client.py b/syncplay/client.py index a29db38..4e7d61f 100755 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -1124,8 +1124,8 @@ class SyncplayClient(object): publicServers = ast.literal_eval(publicServers) 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 - except: - return "failed", getMessage("update-check-failed-notification").format(syncplay.version), constants.SYNCPLAY_DOWNLOAD_URL, None + except Exception as e: + return "failed", str(e)+"\n-----\n"+getMessage("update-check-failed-notification").format(syncplay.version), constants.SYNCPLAY_DOWNLOAD_URL, None class _WarningManager(object): def __init__(self, player, userlist, ui, client):