Add a touch more detail to the unsupported skin component exception

This commit is contained in:
Dean Herbert 2022-04-25 19:06:47 +09:00
parent 4bf11df57c
commit d2780c2c50

View File

@ -8,7 +8,7 @@ namespace osu.Game.Skinning
public class UnsupportedSkinComponentException : Exception
{
public UnsupportedSkinComponentException(ISkinComponent component)
: base($@"Unsupported component type: {component.GetType()}(""{component.LookupName}"").")
: base($@"Unsupported component type: {component.GetType()} (lookup: ""{component.LookupName}"").")
{
}
}