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

Improve exception text

This commit is contained in:
Dean Herbert 2018-09-14 11:58:23 +09:00
parent 24e0a984f0
commit be1365fb18

View File

@ -86,11 +86,11 @@ namespace osu.Game.Graphics.Containers
case LinkAction.OpenChannel:
try
{
channelManager.OpenChannel(linkArgument);
channelManager?.OpenChannel(linkArgument);
}
catch (ChannelNotFoundException e)
{
Logger.Error(e, "It should not be possible that the user is able to click a invalid channel link.");
Logger.Log($"The requested channel \"{linkArgument}\" does not exist");
}
break;