debug debug.traceback()

This commit is contained in:
Linventif 2023-09-25 11:30:37 +02:00
parent 8e2d314fc9
commit 328f446c6d

View File

@ -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