Skip to content

Commit aba6c50

Browse files
Tosoks67Elektryk-Andrzej
authored andcommitted
logging fix
1 parent 6c1e62c commit aba6c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/ArgumentSystem/ProvidedArguments.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ private List<DynamicTryGet> GetValueInternal<TValue, TArg>(string argName)
264264

265265
_ => throw new AndrzejFuckedUpException(
266266
$"Argument {argName} for method {method.Name} has its default value set to type " +
267-
$"{foundArg.DefaultValue?.GetType().AccurateName ?? "null"}, expected of type {typeof(TValue).Name} or a list of " +
267+
$"{foundArg.DefaultValue?.Value.GetType().AccurateName ?? "null"}, expected of type {typeof(TValue).Name} or a list of " +
268268
$"{typeof(TValue).Name}s."
269269
)
270270
};

0 commit comments

Comments
 (0)