mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
fix them again
This commit is contained in:
parent
f7da913fe8
commit
91a3a58d21
@ -110,7 +110,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
|
||||
|
||||
T? parsed = ConvertValue<T>(attribute.Value);
|
||||
if (parsed == null)
|
||||
throw new Exception($"{element.Name} {attribute} is not a valid {typeof(T).Name}");
|
||||
throw new Exception($"{element.Name} {attributeName} is not a valid {typeof(T).Name}");
|
||||
|
||||
return (T)parsed;
|
||||
}
|
||||
@ -127,7 +127,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
|
||||
|
||||
T? parsed = ConvertValue<T>(attribute.Value);
|
||||
if (parsed == null)
|
||||
throw new Exception($"{element.Name} {attribute} is not a valid {typeof(T).Name}");
|
||||
throw new Exception($"{element.Name} {attributeName} is not a valid {typeof(T).Name}");
|
||||
|
||||
return (T)parsed;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user