serilog-sinks-browserhttp icon indicating copy to clipboard operation
serilog-sinks-browserhttp copied to clipboard

Unhandled exception breaks offline PWA

Open jashmore opened this issue 3 years ago • 1 comments

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.

jashmore avatar May 13 '21 14:05 jashmore