调整ws收到警告/错误消息后输出的提醒消息格式

This commit is contained in:
MrZ626
2021-06-26 01:43:36 +08:00
parent 356316aaa3
commit 38589fbebe

View File

@@ -75,7 +75,7 @@ local function _parse(res)
if mesType[res.type]then
return res
else
MES.new('warn',("%s: %s"):format(res.type or"[?]",res.reason or"[NO Message]"))
MES.new('warn',("[%s] %s"):format(res.type or"?",res.reason or"[NO Message]"))
end
end
end