in app/services/LegacyIdentityDbUserService.scala [20:26]
def healthCheck(): Future[Unit] =
db.run(sql"SELECT 1".as[Int])
.map(_ => ())
.tap(_.onComplete {
case Failure(exception) => logger.error(s"Health check failed: ${exception.getMessage}")
case _ => ()
})