def handle()

in src/main/scala/com/gu/liveappversions/UploadAttempt.scala [11:19]


  def handle(attempt: Try[Any]) = {
    attempt match {
      case Success(_) =>
        logger.info("Successfully updated build information")
      case Failure(exception) =>
        logger.error(s"Failed to update build information due to $exception")
        throw exception // This allows us to monitor failures easily (using standard AWS metrics)
    }
  }