mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-18 22:30:03 +00:00
remove "backend response failed to parse as valid json"
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
- FIXED bug which caused hot-reload not to report syntax errors
|
- FIXED bug which caused hot-reload not to report syntax errors
|
||||||
- FIXED missing error messages on some event handler calls
|
- FIXED missing error messages on some event handler calls
|
||||||
- FIXED vehicles not deleting for all players if an edit was cancelled by Lua
|
- FIXED vehicles not deleting for all players if an edit was cancelled by Lua
|
||||||
|
- REMOVED "Backend response failed to parse as valid json" message
|
||||||
|
|
||||||
# v3.0.2
|
# v3.0.2
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ void THeartbeatThread::operator()() {
|
|||||||
Doc.Parse(T.data(), T.size());
|
Doc.Parse(T.data(), T.size());
|
||||||
if (Doc.HasParseError() || !Doc.IsObject()) {
|
if (Doc.HasParseError() || !Doc.IsObject()) {
|
||||||
if (!Application::Settings.Private) {
|
if (!Application::Settings.Private) {
|
||||||
beammp_error("Backend response failed to parse as valid json");
|
beammp_trace("Backend response failed to parse as valid json");
|
||||||
beammp_trace("Response was: `" + T + "`");
|
beammp_trace("Response was: `" + T + "`");
|
||||||
}
|
}
|
||||||
Sentry.SetContext("JSON Response", { { "reponse", T } });
|
Sentry.SetContext("JSON Response", { { "reponse", T } });
|
||||||
|
|||||||
Reference in New Issue
Block a user