serilog-contrib / Serilog.Sinks.Logz.Io

Apache License 2.0
15 stars 11 forks source link

Added failure callback and exception handling. #16

Closed SeppPenner closed 2 years ago

SeppPenner commented 3 years ago

I have added a try-catch block around the client post and a callback for exceptions, this is quite commonly used in other sinks like this. I hope, it helps :)

Doron-Bargo commented 3 years ago

Hi @mantasaudickas some customers complain on this issue. Can you check this PR?

SeppPenner commented 2 years ago

Now, it's changed and merged again to be compatible with the current state of the sink.