From a2017e570c306bfd36513cfc3616185003d5de97 Mon Sep 17 00:00:00 2001 From: sksamuel Date: Sun, 28 Apr 2024 21:37:48 -0500 Subject: [PATCH] Updated 404 logging --- .../src/main/kotlin/com/sksamuel/cohort/vertx/HealthVerticle.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cohort-vertx/src/main/kotlin/com/sksamuel/cohort/vertx/HealthVerticle.kt b/cohort-vertx/src/main/kotlin/com/sksamuel/cohort/vertx/HealthVerticle.kt index 6cfb5a8..a268a0d 100644 --- a/cohort-vertx/src/main/kotlin/com/sksamuel/cohort/vertx/HealthVerticle.kt +++ b/cohort-vertx/src/main/kotlin/com/sksamuel/cohort/vertx/HealthVerticle.kt @@ -50,7 +50,7 @@ class HealthVerticle( override suspend fun start() { val router = Router.router(vertx) - .errorHandler(404) { it.end("Could not find path ${it.request().path()}") } + .errorHandler(404) { it.end("Could not find request ${it.request().path()} ${it.request()}") } val server = vertx.createHttpServer(options) .requestHandler(router)