brabo-hi
04/23/2022, 9:58 PMktor-2.0 handleResponseException has been deprecated in replacement of handleResponseExceptionWithRequest . However i am having exception when accessing request.call.response.statusbrabo-hi
04/23/2022, 9:58 PMval client = HttpClient {
expectSuccess = true
HttpResponseValidator {
handleResponseExceptionWithRequest { exception, request ->
request.call.response.status // throw kotlin.UninitializedPropertyAccessException: lateinit property response has not been initialized
}
}
}Aleksei Tirman [JB]
04/25/2022, 8:37 PM