mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[Errors] Include parser error body when reporting HTTP errors.
This commit is contained in:
parent
d097fcc973
commit
512baaa43f
@ -93,7 +93,7 @@ class ApiError(val tag: String, var errorCode: Int) {
|
||||
stackTrace = throwable?.stackTraceString,
|
||||
request = requestString,
|
||||
response = responseString,
|
||||
apiResponse = apiResponse,
|
||||
apiResponse = apiResponse ?: response?.parserErrorBody,
|
||||
isCritical = isCritical
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user