improve ClientGameStateManager error logs (#6452)

* improve ClientGameStateManager error logs

* make it even better
This commit is contained in:
mastermiller01
2026-03-15 20:42:12 +00:00
committed by GitHub
parent 63f1d3b4a5
commit 8404008c60
@@ -942,8 +942,7 @@ namespace Robust.Client.GameStates
}
catch (Exception e)
{
_sawmill.Error($"Caught exception while updating entity broadphases");
_runtimeLog.LogException(e, $"{nameof(ClientGameStateManager)}.{nameof(ApplyEntityStates)}");
_runtimeLog.LogException(e, $"{nameof(ClientGameStateManager)}.{nameof(ApplyEntityStates)} caught exception while updating broadphase!");
}
}
@@ -956,8 +955,7 @@ namespace Robust.Client.GameStates
}
catch (Exception e)
{
_sawmill.Error($"Caught exception while deleting entities");
_runtimeLog.LogException(e, $"{nameof(ClientGameStateManager)}.{nameof(ApplyEntityStates)}");
_runtimeLog.LogException(e, $"{nameof(ClientGameStateManager)}.{nameof(ApplyEntityStates)} caught exception while deleting entities!");
#if !EXCEPTION_TOLERANCE
throw;
#endif