change: Add response to log entry

This commit is contained in:
2024-01-18 09:28:58 +01:00
parent 55275dd85d
commit 899380ee27
@@ -50,7 +50,7 @@ class BahnApiService(
} }
.retrieve() .retrieve()
.onStatus(bahnErrorHandler) .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) val body = response.body(BahnTimetable::class.java)
body!!.eva = eva body!!.eva = eva
return body return body