You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an effect is wrapped within an Effect.timeout and fails because of any other reason (before the timeout kicks in), it should not lead to a warning about an unhandled error within a Fiber.
When trying to debug this behavior, I removed the .pipe(Effect.timeout(Duration.millis(200))) and got the normal message which was expected:
Effect logs a message about a Fiber terminating with an unhandled error.
timestamp=2024-05-09T21:07:53.132Z level=DEBUG fiber=#2 message="Fiber terminated with an unhandled error"
timestamp=2024-05-09T21:07:53.136Z level=ERROR fiber=#1 message=failure
Additional information
In case the timeout itself kicks in, the message about an unhandled error is also not coming up. Only if the wrapped effect fails before the timeout kicks in.
The text was updated successfully, but these errors were encountered:
What version of Effect is running?
3.1.3
What steps can reproduce the bug?
What is the expected behavior?
When an effect is wrapped within an
Effect.timeout
and fails because of any other reason (before the timeout kicks in), it should not lead to a warning about an unhandled error within a Fiber.When trying to debug this behavior, I removed the
.pipe(Effect.timeout(Duration.millis(200)))
and got the normal message which was expected:What do you see instead?
Effect logs a message about a Fiber terminating with an unhandled error.
Additional information
In case the timeout itself kicks in, the message about an unhandled error is also not coming up. Only if the wrapped effect fails before the timeout kicks in.
The text was updated successfully, but these errors were encountered: