1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Fix some errors being completely ignored

This commit is contained in:
Dean Herbert 2020-12-22 16:19:19 +09:00
parent 17d924c755
commit 3cf889b7c5

View File

@ -76,10 +76,7 @@ namespace osu.Game.Screens.Multi.Components
req.Failure += exception =>
{
if (req.Result != null)
onError?.Invoke(req.Result.Error);
else
Logger.Log($"Failed to create the room: {exception}", level: LogLevel.Important);
onError?.Invoke(req.Result?.Error ?? exception.Message);
};
api.Queue(req);