kittinunf
05/06/2019, 3:38 PMfun wrap(it: Throwable, response: Response = Response.error()): FuelError = when (it) {
is FuelError -> it
else -> FuelError(it, response = response)
}
kittinunf
05/06/2019, 3:38 PMDerk-Jan Karrenbeld
05/06/2019, 3:41 PMkittinunf
05/06/2019, 3:41 PMkittinunf
05/06/2019, 3:42 PMfun wrap(it: Throwable, response: Response = Response.error()): FuelError = when (it) {
is FuelError -> BubbleFuelError(it)
else -> FuelError(it, response = response)
}
kittinunf
05/06/2019, 3:42 PMstacktrace
help a lot alreadyDerk-Jan Karrenbeld
05/06/2019, 3:49 PMthen the stacktrace becomes simpler (edited)That's right. Maybe we can put the old bubble behaviour under a flag? We'll lose the full stacktrace if we don't bubble it, but might be nice to still be able to debug it
Derk-Jan Karrenbeld
05/06/2019, 3:49 PMitnoles
05/06/2019, 4:11 PMDerk-Jan Karrenbeld
05/06/2019, 4:15 PMDerk-Jan Karrenbeld
05/06/2019, 4:15 PMitnoles
05/06/2019, 4:21 PMitnoles
05/06/2019, 6:32 PMkittinunf
05/07/2019, 5:37 AMkittinunf
05/07/2019, 12:40 PMkittinunf
05/07/2019, 12:40 PMkittinunf
05/07/2019, 12:40 PMDerk-Jan Karrenbeld
05/07/2019, 1:20 PMitnoles
05/07/2019, 2:34 PMitnoles
05/10/2019, 11:43 PMkittinunf
05/11/2019, 12:37 AMitnoles
05/12/2019, 7:37 PMDerk-Jan Karrenbeld
05/12/2019, 10:40 PMkittinunf
05/13/2019, 1:40 AMitnoles
05/13/2019, 1:41 AMkittinunf
05/13/2019, 1:42 AMitnoles
05/13/2019, 1:43 AMkittinunf
05/13/2019, 1:43 AMkittinunf
05/13/2019, 1:43 AMitnoles
05/13/2019, 1:44 AM