Skip to content

Commit b37c265

Browse files
author
Sergey Komisarchik
committed
throw ArgumentException at the end of ConvertTo method
1 parent 83ea029 commit b37c265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationSectionArgumentValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public object ConvertTo(Type toType)
3333
return new Action<LoggerConfiguration>(_configReader.Configure);
3434
}
3535

36-
throw new Exception($"Handling {configurationType} is not implemented.");
36+
throw new ArgumentException($"Handling {configurationType} is not implemented.");
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)