mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 22:23:03 +00:00
Ignore BEAMMP_FN_NOT_FOUND errors
This commit is contained in:
+6
-2
@@ -65,7 +65,9 @@ void TLuaEngine::operator()() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Res->Error) {
|
if (Res->Error) {
|
||||||
beammp_lua_error(Res->Function + ": " + Res->ErrorMessage);
|
if (Res->ErrorMessage != BeamMPFnNotFoundError) {
|
||||||
|
beammp_lua_error(Res->Function + ": " + Res->ErrorMessage);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -140,7 +142,9 @@ void TLuaEngine::WaitForAll(std::vector<std::shared_ptr<TLuaResult>>& Results) {
|
|||||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||||
}
|
}
|
||||||
if (Result->Error) {
|
if (Result->Error) {
|
||||||
beammp_lua_error(Result->Function + ": " + Result->ErrorMessage);
|
if (Result->ErrorMessage != BeamMPFnNotFoundError) {
|
||||||
|
beammp_lua_error(Result->Function + ": " + Result->ErrorMessage);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user