Skip to content

Commit 454c6c7

Browse files
authored
refactor(kobo): log error responses
1 parent ce3ad4c commit 454c6c7

File tree

1 file changed

+1
-0
lines changed
  • komga/src/main/kotlin/org/gotson/komga/infrastructure/kobo

1 file changed

+1
-0
lines changed

komga/src/main/kotlin/org/gotson/komga/infrastructure/kobo/KoboProxy.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class KoboProxy(
120120
}.apply { if (body != null) body(body) }
121121
.retrieve()
122122
.onStatus(HttpStatusCode::isError) { _, response ->
123+
logger.debug { "Kobo response: $response" }
123124
throw ResponseStatusException(response.statusCode, response.statusText)
124125
}.toEntity<JsonNode>()
125126

0 commit comments

Comments
 (0)