mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Log unknown websocket commands at info instead of error (#72336)
This commit is contained in:
@@ -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."
|
||||
|
Reference in New Issue
Block a user