mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Mon Feb 3 19:34:33 CET 2025
This commit is contained in:
@@ -85,10 +85,10 @@ local function is_filter_keyword(value)
|
||||
end
|
||||
|
||||
local nodeResult = {} -- update result
|
||||
local debug = false
|
||||
local isDebug = false
|
||||
|
||||
local log = function(...)
|
||||
if debug == true then
|
||||
if isDebug == true then
|
||||
local result = os.date("%Y-%m-%d %H:%M:%S: ") .. table.concat({...}, " ")
|
||||
print(result)
|
||||
else
|
||||
@@ -1728,7 +1728,9 @@ if arg[1] then
|
||||
log('开始订阅...')
|
||||
xpcall(execute, function(e)
|
||||
log(e)
|
||||
log(debug.traceback())
|
||||
if type(debug) == "table" and type(debug.traceback) == "function" then
|
||||
log(debug.traceback())
|
||||
end
|
||||
log('发生错误, 正在恢复服务')
|
||||
end)
|
||||
log('订阅完毕...')
|
||||
|
||||
Reference in New Issue
Block a user