-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exceptions when misconfigured #155
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @mashbrno 👍 .
It would be great if this would be a part of a bigger change (feature with strict/non strict validation behavior). For this kind of local change it would be better to just emit errors to the SelfLog
instead of throwing them to align with other places and the current behavior.
…figuration into dev # Conflicts: # src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReader.cs
I've merge latest changes from dev and replaced Expcetions with SelfLog. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thanks! |
(Unfortunately my trigger finger was too quick and I merged this with the original PR title "Exceptions when misconfigured" - I should have noted "Improved SelfLog messages when misconfigured" - just force-pushed the better message). |
Part of my JSON configuration was skipped. After few hours debugging I found that it silently drops parts unable to load. Please revise my attempt to provide some meaningful Exception.