1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:02:55 +08:00

Notify if copying room fails

Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
Dan Balasescu 2022-03-09 16:47:47 +09:00 committed by GitHub
parent b07a1e8d09
commit 4839bd8044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,8 +340,9 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
joiningRoomOperation = null;
};
req.Failure += _ =>
req.Failure += exception =>
{
Logger.Error(exception, "Couldn't create a copy of this room.");
joiningRoomOperation?.Dispose();
joiningRoomOperation = null;
};