mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 21:17:34 +00:00
debug debug.traceback()
This commit is contained in:
parent
8e2d314fc9
commit
328f446c6d
|
@ -12,5 +12,5 @@ end
|
|||
function gmInte.logError(msg, debug)
|
||||
if (debug && !gmInte.config.debug) then return end
|
||||
print("[" .. os.date("%Y-%m-%d %H:%M:%S") .. "] [Gmod Integration] [ERROR] " .. msg)
|
||||
print(debug.traceback())
|
||||
debug && print(debug.traceback())
|
||||
end
|
Loading…
Reference in New Issue
Block a user