mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 17:17:33 +00:00
fix: don't send report if serv not start
This commit is contained in:
parent
51c24d13f5
commit
805b7d3fef
|
@ -4,6 +4,8 @@
|
|||
|
||||
function gmInte.sendLuaErrorReport(err, realm, stack, name, id)
|
||||
if (name != "gmod_integration") then return end
|
||||
if (SERVER && math.Round(RealTime()) == 0) then return end
|
||||
|
||||
gmInte.http.post("/errors",
|
||||
{
|
||||
["error"] = err,
|
||||
|
|
Loading…
Reference in New Issue
Block a user