Make sure an exception is thrown

This commit is contained in:
smoogipoo 2020-01-03 14:16:33 +09:00
parent 132b420aaa
commit b54491cc82

View File

@ -186,10 +186,10 @@ namespace osu.Game.Overlays
tcs.SetResult(true);
});
req.Failure += _ =>
req.Failure += e =>
{
initialFetchTask = null;
tcs.SetResult(false);
tcs.SetException(e);
};
await API.PerformAsync(req);