fix: don't send report if serv not start

This commit is contained in:
Linventif 2024-02-16 13:54:58 +01:00
parent 51c24d13f5
commit 805b7d3fef
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

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