Skip to content

Throw exception when request rate limiter denys request #780

@tianmingxing

Description

@tianmingxing
  1. When the current limiting mechanism is triggered, the gateway responds to the status code 429 to the client, but I want the client to always accept only the 200 status code. Any error message is prompted by the response data. How can I capture this situation?
  2. I tried to write a class that inherits DefaultErrorAttributes to implement, but found that this exception was not caught at all.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions