Log unknown websocket commands at info instead of error (#72336)
This commit is contained in:
parent
4dbc1ed7a7
commit
20960e182d
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class ActiveConnection:
|
|||
return
|
||||
|
||||
if msg["type"] not in handlers:
|
||||
self.logger.error("Received invalid command: {}".format(msg["type"]))
|
||||
self.logger.info("Received unknown command: {}".format(msg["type"]))
|
||||
self.send_message(
|
||||
messages.error_message(
|
||||
cur_id, const.ERR_UNKNOWN_COMMAND, "Unknown command."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue