Revert "Oops"

This reverts commit a0287b8561.
This commit is contained in:
Maplewheels
2026-02-16 02:22:19 -05:00
parent a0287b8561
commit c28a08a713

View File

@@ -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<T>)
{