1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

Get the body of the error

This commit is contained in:
carbotaniuman 2022-02-21 17:16:08 +00:00
parent c7830161c1
commit aa0931dddc

View file

@ -124,7 +124,7 @@ class BackendApi(private val settings: ClientSettings) {
try { try {
PING_FAILURE_LENS(response) PING_FAILURE_LENS(response)
} catch (e: LensFailure) { } catch (e: LensFailure) {
PingFailure(response.status.code, response.status.description) PingFailure(response.status.code, response.bodyString())
} }
} }
} }