From a0287b8561813da6830e14d9132179474a713396 Mon Sep 17 00:00:00 2001 From: Maplewheels Date: Sun, 15 Feb 2026 06:01:59 -0500 Subject: [PATCH] Oops --- .../BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs b/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs index 367a77023..df671ffc2 100644 --- a/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs +++ b/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs @@ -26,7 +26,8 @@ namespace Barotrauma if (task.Exception != null) { var ex = task.Exception.GetInnermost(); - throw new InvalidOperationException($"Failed to get result from task: task failed with exception {ex.Message} ({ex.GetType()}) {ex.StackTrace}"); + // Commented out until Neurotrauma is fixed. Do not Commit. + // throw new InvalidOperationException($"Failed to get result from task: task failed with exception {ex.Message} ({ex.GetType()}) {ex.StackTrace}"); } if (task is not Task) {