Skip to content

Failure on client exception #17

@PedroPMS

Description

@PedroPMS

I'm having a "problem" where requests that return 4xx are thrown a client exception. This library treats any error as failure of the circuit breaker, which forces the non-use of guzzle Exceptions, having to deal with the status code.

I was wondering if it makes sense to handle Guzze's RequestException with the executeCircuitBreakerOnResponse method instead of just throwing the exception and mark as failure.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions