You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log blocks application with some timeout when Sentry dns is not available.
I see 2 solutions of problem:
The easiest - to install package https://github.com/serilog/serilog-sinks-async and use .WriteTo.Async(a => a.Sentry(sinkOptions.Dns)); syntax + do not forget to call Log.CloseAndFlush(); or .Dispose()
Change Sink implementation, for example something like PeriodicBatchingSink
to simulate timeout you can add some invalid port to dns string, like [email protected]:81/id
The text was updated successfully, but these errors were encountered:
Yes, I personally use the approach with serilog-sinks-async.
I don't think this feature will be implemented since there is an official library now, this repository will be eventually archived when they release stable support for MVC5. getsentry/sentry-dotnet#168
Log blocks application with some timeout when Sentry dns is not available.
I see 2 solutions of problem:
.WriteTo.Async(a => a.Sentry(sinkOptions.Dns));
syntax + do not forget to callLog.CloseAndFlush();
or.Dispose()
to simulate timeout you can add some invalid port to dns string, like
[email protected]:81/id
The text was updated successfully, but these errors were encountered: