mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Merge branch 'fix-error-string' into 'master'
Get the body of the error See merge request mangadex-pub/mangadex_at_home!98
This commit is contained in:
commit
c9a5548770
|
@ -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