Add trace to action error logs
return true;
if (logError)
- Log.Error($"Failed to get action from action entity: {ToPrettyString(uid.Value)}");
+ Log.Error($"Failed to get action from action entity: {ToPrettyString(uid.Value)}. Trace: {Environment.StackTrace}");
return false;
}
|| !comp.Actions.Contains(actionId.Value));
if (!GameTiming.ApplyingState)
- Log.Error($"Attempted to remove an action {ToPrettyString(actionId)} from an entity that it was never attached to: {ToPrettyString(performer)}");
+ Log.Error($"Attempted to remove an action {ToPrettyString(actionId)} from an entity that it was never attached to: {ToPrettyString(performer)}. Trace: {Environment.StackTrace}");
return;
}