Closed stijnherreman closed 6 years ago
I did find out that the module cannot be used with Web API anyway and I had to register an IExceptionLogger
, but I assume the above is still an issue for MVC applications.
Additionally, I noticed the first call to Log
(in my case this happens in the IExceptionLogger
implementation) silently fails due to this issue. Subsequent calls work as expected.
Fixed in #107 along with a few others, will be in the next alpha package.
This appears to be a problem again, looking at latest code in https://github.com/NickCraver/StackExchange.Exceptional/blob/cd964906c44c73e6cc120000a18fe7fc29c84e62/src/StackExchange.Exceptional/ConfigSettings.cs#L24-L38
After adding <section name="Exceptional" type="StackExchange.Exceptional.Settings, StackExchange.Exceptional"/>
and <Exceptional applicationName="placeholder" />
it works as expected
@NickCraver do you mind reopening this? Happy to create a new issue if you want
Version: 2.0.0-alpha-129 Environment: ASP.NET Web API 2 using OWIN
When only the module is configured in Web.config, without any other changes to Web.config, the module crashes.
It looks like ConfigSettings.cs expects the
<Exceptional>...</Exceptional>
section to be present.