AwsInterceptor icon indicating copy to clipboard operation
AwsInterceptor copied to clipboard

crash with no connection

Open xanscale opened this issue 3 years ago • 0 comments

if interceptor throw an exception that is not child of IOException app will crash

FIX: wrap AmazonClientException with IOException

https://github.com/square/okhttp/blob/e1af67f082027dd7811c88434749b7b8f807ceca/okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt#L535

https://github.com/xanscale/AwsInterceptor/commit/de62271956717d2b4dcf48a84267230ee0372845

xanscale avatar Sep 27 '21 16:09 xanscale