-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing information about failing background fibers #2842
Comments
Btw, I wondered if there's some way to make a trait ErrorSupervisor[F[_]] {
def supervise[A](fa: F[A]): F[Fiber[F, Throwable, A]]
def error: F[Throwable] // semantically blocks until the first error
} |
I must admit that it crossed my mind to check whether the |
Btw I realized that we do have an obvious place to put this: the compute |
Somehow it didn't get closed automatically 🤔 Closing as it was resolved. |
Tested against 3.3.0 and 3.3.5
Following code doesn't print any information about the fact that an exception was thrown in one of the fibers.
I would expect it to print some information to stdout/stderr. It would be even better if there was a way to customize that information.
For example in zio there is a
Plaform
object that contains an error reporter which can be customized by the user.Link to the original discussion on discord: https://discord.com/channels/632277896739946517/632278585700384799/946443755286855702
The text was updated successfully, but these errors were encountered: