@@ -26,8 +26,7 @@ namespace Barotrauma
|
|||||||
if (task.Exception != null)
|
if (task.Exception != null)
|
||||||
{
|
{
|
||||||
var ex = task.Exception.GetInnermost();
|
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>)
|
if (task is not Task<T>)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user