From c28a08a713ad1e2bd196cef0cdce6299b81308a6 Mon Sep 17 00:00:00 2001 From: Maplewheels Date: Mon, 16 Feb 2026 02:22:19 -0500 Subject: [PATCH] Revert "Oops" This reverts commit a0287b8561813da6830e14d9132179474a713396. --- .../BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs b/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs index df671ffc2..367a77023 100644 --- a/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs +++ b/Libraries/BarotraumaLibs/BarotraumaCore/Utils/TaskExtensions.cs @@ -26,8 +26,7 @@ namespace Barotrauma if (task.Exception != null) { var ex = task.Exception.GetInnermost(); - // 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}"); + throw new InvalidOperationException($"Failed to get result from task: task failed with exception {ex.Message} ({ex.GetType()}) {ex.StackTrace}"); } if (task is not Task) {