mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 03:37:28 -03:00
Edit error message in ConnectionRefusedError error to be more generic
This commit is contained in:
parent
3ef52eb59b
commit
18bff0660c
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class ChatModeWeb:
|
||||||
broadcast=True,
|
broadcast=True,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
raise ConnectionRefusedError('You are active from another session!')
|
raise ConnectionRefusedError('Invalid session')
|
||||||
|
|
||||||
@self.web.socketio.on("text", namespace="/chat")
|
@self.web.socketio.on("text", namespace="/chat")
|
||||||
def text(message):
|
def text(message):
|
||||||
|
|
Loading…
Reference in a new issue