itnoles
05/03/2019, 2:28 PMitnoles
05/03/2019, 7:20 PMDerk-Jan Karrenbeld
05/03/2019, 7:28 PMitnoles
05/03/2019, 7:32 PMitnoles
05/03/2019, 7:38 PMitnoles
05/03/2019, 7:48 PMitnoles
05/03/2019, 9:11 PMitnoles
05/04/2019, 12:09 AMkittinunf
05/05/2019, 6:28 AMDerk-Jan Karrenbeld
05/05/2019, 9:44 AMitnoles
05/05/2019, 6:11 PMkittinunf
05/06/2019, 8:14 AMBubbleFuelError
kittinunf
05/06/2019, 8:15 AMkittinunf
05/06/2019, 8:15 AMRequestTask.kt
kittinunf
05/06/2019, 8:15 AMrunCatching { Pair(request, client.executeRequest(request)) }
.recover { error ->
throw FuelError.wrap(error, Response(request.url))
}
.getOrThrow()
kittinunf
05/06/2019, 8:15 AMDeserializable.kt
kittinunf
05/06/2019, 8:16 AM.onFailure { error ->
FuelError.wrap(error, Response.error(url)).also {
return Triple(this, it.response, Result.error(it))
}
}
Derk-Jan Karrenbeld
05/06/2019, 11:15 AMDerk-Jan Karrenbeld
05/06/2019, 11:16 AMkittinunf
05/06/2019, 1:39 PMkittinunf
05/06/2019, 1:39 PMclient.executeRequest
itselfkittinunf
05/06/2019, 1:40 PMdeserialization
Derk-Jan Karrenbeld
05/06/2019, 2:10 PMDerk-Jan Karrenbeld
05/06/2019, 2:11 PMDerk-Jan Karrenbeld
05/06/2019, 2:11 PMDerk-Jan Karrenbeld
05/06/2019, 2:11 PMkittinunf
05/06/2019, 3:32 PMkittinunf
05/06/2019, 3:33 PMandroid.os.NetworkOnMainThreadException
, the message
property is null
thoughkittinunf
05/06/2019, 3:34 PMResult
it is Failure: com.github.kittinunf.fuel.core.BubbleFuelError: null
kittinunf
05/06/2019, 3:38 PMFuelError
without the BubbleFuelError
by doing this?