mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-11 15:50:40 -04:00
Edit error message in ConnectionRefusedError error to be more generic
This commit is contained in:
parent
25d0d2c9f8
commit
0681c751c7
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…
Add table
Add a link
Reference in a new issue