Merge pull request #2024 from MatthewShao/fix_websocket_msg_in_console
fix websocket message display crash in console.
This commit is contained in:
commit
a3436897ad
|
@ -412,7 +412,7 @@ class ConsoleMaster(master.Master):
|
|||
def websocket_message(self, f):
|
||||
super().websocket_message(f)
|
||||
message = f.messages[-1]
|
||||
signals.add_log(message.info, "info")
|
||||
signals.add_log(f.message_info(message), "info")
|
||||
signals.add_log(strutils.bytes_to_escaped_str(message.content), "debug")
|
||||
|
||||
@controller.handler
|
||||
|
|
Loading…
Reference in New Issue