Merge pull request #2024 from MatthewShao/fix_websocket_msg_in_console

fix websocket message display crash in console.
This commit is contained in:
Maximilian Hils 2017-02-14 18:02:09 +01:00 committed by GitHub
commit a3436897ad
1 changed files with 1 additions and 1 deletions

View File

@ -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