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:
parent
24e0a984f0
commit
be1365fb18
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user