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
1 changed files with 1 additions and 1 deletions

View File

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