mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 11:22:57 +08:00
Notify if copying room fails
Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
b07a1e8d09
commit
4839bd8044
@ -340,8 +340,9 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
|||||||
joiningRoomOperation = null;
|
joiningRoomOperation = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
req.Failure += _ =>
|
req.Failure += exception =>
|
||||||
{
|
{
|
||||||
|
Logger.Error(exception, "Couldn't create a copy of this room.");
|
||||||
joiningRoomOperation?.Dispose();
|
joiningRoomOperation?.Dispose();
|
||||||
joiningRoomOperation = null;
|
joiningRoomOperation = null;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user