-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Include filename in load exception #36007
Comments
I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label. |
This could be a nice and low-cost 5.0 fix-up, so I'll leave it untriaged for now. |
umm.. is it good? like
|
Not quite, the original issue wasn't about a file missing, it was about the file load failing because of bad config, in the case of a json file there was invalid json in the file. |
what about checking json file's syntax? (validation)
|
@BrennanConroy, did you solve the problem? It seems like you already solve it. |
@maryamariyan still 5.0? |
no it's not a show stopper for 5.0. moving the milestone. |
Ensure that the fix for this covers the suggestion from #42337
|
Hey, @maryamariyan and @eerhardt - do you mind if I take this one? |
@IEvangelist - it's all yours! |
Make sure to consider the constraints that came up in the last PR: #35183 |
Thanks, will do. |
We spent a few minutes today trying to debug a file load error only to find out that we were trying to fix the wrong file because the exception doesn't say what file failed to load.
https://github.com/aspnet/Extensions/blob/06dcb43bfb372585d3801cfc333a2d9ee9c189ea/src/Configuration/Config.FileExtensions/src/FileConfigurationProvider.cs#L90
cc @jkotalik
The text was updated successfully, but these errors were encountered: