From 805b7d3fefa9398982503e0dd8ea919a05411747 Mon Sep 17 00:00:00 2001 From: Linventif Date: Fri, 16 Feb 2024 13:54:58 +0100 Subject: [PATCH] fix: don't send report if serv not start --- lua/gmod_integration/shared/sh_errors.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/gmod_integration/shared/sh_errors.lua b/lua/gmod_integration/shared/sh_errors.lua index 155bdb8..bc3a989 100644 --- a/lua/gmod_integration/shared/sh_errors.lua +++ b/lua/gmod_integration/shared/sh_errors.lua @@ -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,