Skip to content

Commit

Permalink
Update CatsToBIO.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-kai authored Sep 30, 2023
1 parent a236e58 commit 8a1c2ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object CatsToBIO {
case Outcome.Succeeded(fa) => Bifunctorized.assert(F.map(fa)(Exit.Success(_)))
case Outcome.Errored(exc @ PrivateTypedError(e)) => pure(Exit.Error(e.asInstanceOf[E], Exit.Trace.ThrowableTrace(exc)))
case Outcome.Errored(t) => pure(Exit.Termination(t, Exit.Trace.ThrowableTrace(t)))
case Outcome.Canceled() => pure(Exit.Interruption(Nil, Exit.Trace.empty))
case Outcome.Canceled() => pure(Exit.Interruption(Nil, Exit.Trace.forUnknownError))
}

private[this] def fromPoll(poll: Poll[F]): RestoreInterruption2[Bifunctorized[F, +_, +_]] = {
Expand Down

0 comments on commit 8a1c2ec

Please sign in to comment.