diff --git a/Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs b/Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs index a2b04dda14..490bd280ca 100644 --- a/Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs +++ b/Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using Content.Server.GameObjects.Components.Access; @@ -151,6 +152,7 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Steering case null: break; default: + ExceptionDispatchInfo.Capture(request.Job.Exception).Throw(); throw request.Job.Exception; } _pathfindingRequests.Remove(entity);