Use a custom channel not found exception.

This commit is contained in:
miterosan
2018-07-09 18:45:11 +02:00
parent 5e95995429
commit 263e68de91
2 changed files with 12 additions and 2 deletions

View File

@ -84,7 +84,7 @@ namespace osu.Game.Graphics.Containers
{
channelManager.OpenChannel(linkArgument);
}
catch (ArgumentException)
catch (ChannelNotFoundException)
{
//channel was not found
}