We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41e7349 + f89fa99 commit fae623cCopy full SHA for fae623c
src/Serilog.Settings.Configuration/Settings/Configuration/StringArgumentValue.cs
@@ -56,7 +56,7 @@ public object ConvertTo(Type toType)
56
57
if (toTypeInfo.IsInterface && !string.IsNullOrWhiteSpace(argumentValue))
58
{
59
- var type = Type.GetType(argumentValue.Trim(), throwOnError: false);
+ var type = Type.GetType(argumentValue.Trim());
60
if (type != null)
61
62
var ctor = type.GetTypeInfo().DeclaredConstructors.FirstOrDefault(ci =>
0 commit comments