调整ws收到警告/错误消息后输出的提醒消息格式
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user