serilog-sinks-browserhttp
serilog-sinks-browserhttp copied to clipboard
Unhandled exception breaks offline PWA
We have a Blazor app which is designed to be used offline under certain circumstances. The BrowserHttpSink.EmitBatchAsync method is not exception safe, so when it is offline, the call to _httpClient.PostAsync throws an unhandled exception which breaks the app.