1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

Instead of Doing nothing at LinkFlowContainer if no link was found, we log it as an error.

This commit is contained in:
miterosan 2018-07-23 22:06:40 +02:00
parent 1ab75529a1
commit d9611dcffb

View File

@ -7,6 +7,7 @@ using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using System.Collections.Generic;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Game.Overlays;
using osu.Game.Overlays.Notifications;
@ -87,9 +88,9 @@ namespace osu.Game.Graphics.Containers
{
channelManager.OpenChannel(linkArgument);
}
catch (ChannelNotFoundException)
catch (ChannelNotFoundException e)
{
//channel was not found
Logger.Error(e, "It should not be possible that the user is able to click a invalid channel link.");
}
break;
case LinkAction.OpenEditorTimestamp: