Add stack trace to transform log. (#3938)

This commit is contained in:
Leon Friedrich
2023-04-17 13:36:10 +12:00
committed by GitHub
parent 6550ece258
commit 8958b2123e

View File

@@ -1187,7 +1187,7 @@ public abstract partial class SharedTransformSystem
else
{
if (!_mapManager.IsMap(uid))
Logger.Warning($"Failed to attach entity to map or grid. Entity: ({ToPrettyString(uid)}).");
_logger.Warning($"Failed to attach entity to map or grid. Entity: ({ToPrettyString(uid)}). Trace: {Environment.StackTrace}");
DetachParentToNull(uid, xform);
return;