forked from github/szkolny
[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,
|
stackTrace = throwable?.stackTraceString,
|
||||||
request = requestString,
|
request = requestString,
|
||||||
response = responseString,
|
response = responseString,
|
||||||
apiResponse = apiResponse,
|
apiResponse = apiResponse ?: response?.parserErrorBody,
|
||||||
isCritical = isCritical
|
isCritical = isCritical
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user