jgilfelt / chuck

An in-app HTTP inspector for Android OkHttp clients
Apache License 2.0
4.68k stars 452 forks source link

Collect throwables #78

Closed olivierperez closed 5 years ago

olivierperez commented 5 years ago

Hi,

The request interceptor was really helpful, so I added another feature to help my incoming devs.

It will help the testers to collect the thrown Throwables (like you did for HTTP requests/responses), it also shows a notification beside the HTTP transactions, and a new fragment that lists all the Throwables collected.

Basically, I have split the Interceptor in 2 parts: ChuckInterceptor and ChuckCollector

This split is also useful for old versions of OkHttp, or for other network libraries, they can use the collector without the interceptor.

Do not hesitate to give me feedbacks about the Pull Request, and try the sample app.

olivierperez commented 5 years ago

Hey, have you reviewed the PR?

Ashok-Varma commented 5 years ago

@olivierperez this is no longer being maintained. @jgilfelt please update the lib

I have created a library with this as base and doing improvements on it (https://github.com/Ashok-Varma/Gander) you can have a look at it.

olivierperez commented 5 years ago

@Ashok-Varma Thanks for the offer, but with @cortinico we have created another library Chucker based on the same observation.