修复报错界面的一个错误
This commit is contained in:
@@ -370,14 +370,14 @@ function love.errorhandler(msg)
|
|||||||
c=3
|
c=3
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
errData.mes=table.concat(errData.mes,"\n",1,c-2)
|
local errMes=table.concat(errData.mes,"\n",1,c-2)
|
||||||
DBP(errData.mes)
|
DBP(errMes)
|
||||||
|
|
||||||
--Write messages to log file
|
--Write messages to log file
|
||||||
love.filesystem.append("conf/error.log",
|
love.filesystem.append("conf/error.log",
|
||||||
os.date("%Y/%m/%d_%A_%H:%M:%S\n")..
|
os.date("%Y/%m/%d_%A_%H:%M:%S\n")..
|
||||||
#ERRDATA.." crash(es) "..SYSTEM.."-"..VERSION_NAME.." scene: "..(SCN and SCN.cur or"NULL").."\n"..
|
#ERRDATA.." crash(es) "..SYSTEM.."-"..VERSION_NAME.." scene: "..(SCN and SCN.cur or"NULL").."\n"..
|
||||||
errData.mes.."\n\n"
|
errMes.."\n\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
ins(ERRDATA,errData)
|
ins(ERRDATA,errData)
|
||||||
|
|||||||
Reference in New Issue
Block a user