Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Jan 24, 2025
1 parent 2196b6e commit b95564d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private final class ArmeriaCatsBackend[F[_]: Concurrent](client: WebClient, clos
override protected def ensureOnAbnormal[T](effect: F[T])(finalizer: => F[Unit]): F[T] =
Concurrent[F].guaranteeCase(effect) { exit =>
if (exit == ExitCase.Completed) Concurrent[F].unit
else Concurrent[F].recoverWith(finalizer)(t => Concurrent[F].delay(t.printStackTrace()))
else Concurrent[F].recoverWith(finalizer) { case t => Concurrent[F].delay(t.printStackTrace()) }
}
}

Expand Down

0 comments on commit b95564d

Please sign in to comment.