mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Add more detail to exception
This commit is contained in:
parent
44efa2c540
commit
7c05d66bd7
@ -253,7 +253,7 @@ namespace osu.Game.Screens.Select
|
||||
return true;
|
||||
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException();
|
||||
throw new ArgumentOutOfRangeException(nameof(Sort), Sort, "Unknown sort mode");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user