mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Improve exception text
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user