CommonClient.py: fix generic error
This commit is contained in:
parent
0e32393acb
commit
007f66d86e
|
@ -331,9 +331,10 @@ async def process_server_cmd(ctx: CommonContext, args: dict):
|
|||
logger.error('Invalid password')
|
||||
ctx.password = None
|
||||
await ctx.server_auth(True)
|
||||
else:
|
||||
elif errors:
|
||||
raise Exception("Unknown connection errors: " + str(errors))
|
||||
raise Exception('Connection refused by the multiworld host, no reason provided')
|
||||
else:
|
||||
raise Exception('Connection refused by the multiworld host, no reason provided')
|
||||
|
||||
elif cmd == 'Connected':
|
||||
ctx.team = args["team"]
|
||||
|
|
Loading…
Reference in New Issue