Dependency updates

This commit is contained in:
eikek
2022-06-13 23:11:25 +02:00
parent c130b66bbd
commit 42588593f3
6 changed files with 24 additions and 18 deletions

View File

@ -163,7 +163,7 @@ final class PeriodicSchedulerImpl[F[_]: Async](
private def logThrow[A](msg: => String)(fa: F[A]): F[A] =
fa.attempt.flatMap {
case r @ Right(_) => (r: Either[Throwable, A]).pure[F]
case l @ Left(ex) => logger.error(ex)(msg).map(_ => (l: Either[Throwable, A]))
case l @ Left(ex) => logger.error(ex)(msg).map(_ => l: Either[Throwable, A])
}.rethrow
}