1
0
Fork 1
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:
carbotaniuman 2022-02-21 17:16:08 +00:00
commit c9a5548770

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())
} }
} }
} }