private def bubbleUpFailures()

in src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBJournalRequests.scala [301:306]


  private def bubbleUpFailures(t: Try[Unit]): Try[Unit] =
    t match {
      case s @ Success(_)                           => s
      case r @ Failure(_: DynamoDBJournalRejection) => r
      case Failure(other)                           => throw other
    }