Edit error message in ConnectionRefusedError error to be more generic

This commit is contained in:
Micah Lee 2024-03-08 09:40:43 -08:00
parent 3ef52eb59b
commit 18bff0660c
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -137,7 +137,7 @@ class ChatModeWeb:
broadcast=True,
)
else:
raise ConnectionRefusedError('You are active from another session!')
raise ConnectionRefusedError('Invalid session')
@self.web.socketio.on("text", namespace="/chat")
def text(message):