iand675 / hs-opentelemetry

OpenTelemetry support for the Haskell programming language
https://iankduncan.com/projects/opentelemetry
BSD 3-Clause "New" or "Revised" License
73 stars 34 forks source link

Handling `ExitSuccess` gracefully #90

Open parsonsmatt opened 1 year ago

parsonsmatt commented 1 year ago

Currently if I do an inSpan and then exitSuccess, it'll report that the span was an error. This is beacuse Haskell implements exitSucces by throwing an exception, which hs-opentelemetry records as an exception on the event.