Update webstats_log.lua

This commit is contained in:
midoks
2022-12-01 17:09:39 +08:00
parent 20b39cbb70
commit 7af7e2321a
+1 -5
View File
@@ -648,11 +648,7 @@ log_by_lua_block {
local function run_app_ok()
if not debug_mode then return run_app() end
local presult, err = pcall(
function()
run_app()
end
)
local presult, err = pcall( function() run_app() end)
if not presult then
C:D("debug error on :"..tostring(err))
return true