Skip to content

Feature: ignore some errors generated from http interceptors #175

@GerardPaligot

Description

@GerardPaligot

For now, TracingInterceptor record all errors generated by http request executed in the Android application. But it could be interesting to add a way to ignore some errors like java.io.InterruptedIOException, okhttp3.internal.http2.StreamResetException (stream was reset: CANCEL) or  java.io.IOException (Canceled).

All these errors are generated when a Kotlin coroutine scope is cancelled and where we are no more interested about the http response. It sounds legit to ignore the instrumentation of this kind of error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions