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:
parent
c7830161c1
commit
aa0931dddc
|
@ -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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue