Closed ghostdogpr closed 8 months ago
This is a follow-up to my previous PR: https://github.com/zio/zio-telemetry/pull/786
When the error is already a Throwable, it's a bit pity to wrap it in a FiberFailure because then all errors end up being FiberFailure. When we already have a Throwable, we don't need that wrapping.
Throwable
FiberFailure
This is a follow-up to my previous PR: https://github.com/zio/zio-telemetry/pull/786
When the error is already a
Throwable
, it's a bit pity to wrap it in aFiberFailure
because then all errors end up beingFiberFailure
. When we already have aThrowable
, we don't need that wrapping.