diff --git a/bot/src/main/scala/com/github/mmvpm/bot/OfferServiceBot.scala b/bot/src/main/scala/com/github/mmvpm/bot/OfferServiceBot.scala index a1a7789..de455b1 100644 --- a/bot/src/main/scala/com/github/mmvpm/bot/OfferServiceBot.scala +++ b/bot/src/main/scala/com/github/mmvpm/bot/OfferServiceBot.scala @@ -150,7 +150,7 @@ class OfferServiceBot[F[_]: Concurrent]( private def withoutError(state: State): State = state match { case Error(returnTo, _) => returnTo - case _ => state + case _ => state } private def safe[A](block: => A, default: A): A =