Skip to content

Commit

Permalink
Make PVS exception log better (#5397)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth authored Aug 26, 2024
1 parent f2ee9a4 commit 04344ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Robust.Server/GameStates/PvsSystem.ToSendSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private void AddEntity(PvsSession session, ref PvsChunk.ChunkEntity ent, ref Pvs

if (meta.LifeStage >= EntityLifeStage.Terminating)
{
Log.Error($"Attempted to send deleted entity: {ToPrettyString(ent.Uid)}");
Log.Error($"Attempted to send deleted entity: {ToPrettyString(ent.Uid)}, lifestage is {meta.LifeStage}.\n{Environment.StackTrace}");
EntityManager.QueueDeleteEntity(ent.Uid);
return;
}
Expand Down

0 comments on commit 04344ff

Please sign in to comment.