Use proper TCS method

This commit is contained in:
Jordan Dominion
2023-12-16 09:21:33 -05:00
parent 92cc9e7f6a
commit 1665d564d2
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
@@ -66,7 +66,7 @@ namespace Tgstation.Server.Tests.Live.Instance
}
catch(Exception ex)
{
finishTcs.SetException(ex);
finishTcs.TrySetException(ex);
}
return Task.CompletedTask;