From 287a186ff620a23f02239e79f5fabef102a30748 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Wed, 15 Nov 2023 06:13:41 +0100 Subject: [PATCH] CommonClient: make IncompatibleVersion more explicit. (#2350) --- CommonClient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CommonClient.py b/CommonClient.py index 0952b08a58..c4d80f3416 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -737,7 +737,8 @@ async def process_server_cmd(ctx: CommonContext, args: dict): elif 'InvalidGame' in errors: ctx.event_invalid_game() elif 'IncompatibleVersion' in errors: - raise Exception('Server reported your client version as incompatible') + raise Exception('Server reported your client version as incompatible. ' + 'This probably means you have to update.') elif 'InvalidItemsHandling' in errors: raise Exception('The item handling flags requested by the client are not supported') # last to check, recoverable problem