From 899380ee27db507b97dba73b5dcb72f470237cd8 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 18 Jan 2024 09:28:58 +0100 Subject: [PATCH] change: Add response to log entry --- .../de/twomartens/timetable/bahnApi/service/BahnApiService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-bahnApi/src/main/kotlin/de/twomartens/timetable/bahnApi/service/BahnApiService.kt b/module-bahnApi/src/main/kotlin/de/twomartens/timetable/bahnApi/service/BahnApiService.kt index 5545a23..d35e944 100644 --- a/module-bahnApi/src/main/kotlin/de/twomartens/timetable/bahnApi/service/BahnApiService.kt +++ b/module-bahnApi/src/main/kotlin/de/twomartens/timetable/bahnApi/service/BahnApiService.kt @@ -50,7 +50,7 @@ class BahnApiService( } .retrieve() .onStatus(bahnErrorHandler) - log.debug { "Response from DB API, station [${eva.value}], date [$day], hour [$hour]" } + log.debug { "Response from DB API, station [${eva.value}], date [$day], hour [$hour], response [$response]" } val body = response.body(BahnTimetable::class.java) body!!.eva = eva return body