mirror of
https://github.com/ppy/osu
synced 2024-12-30 19:02:27 +00:00
Make sure an exception is thrown
This commit is contained in:
parent
132b420aaa
commit
b54491cc82
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user