Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Feat]: a2a client failureHandler throwable cannot be caught #237

Copy link
Copy link
@mnlijian

Description

@mnlijian
Issue body actions

Is your feature request related to a problem? Please describe.

I am currently reading the source code of a2a client and noticed that the callback method provided in the onError method of SSEEventListener is failureHandler.run(); This causes the throwable to be unable to be caught through the callback method.Unfavorable for abnormal printing and processing

Describe the solution you'd like

public void onError(Throwable throwable, Future<Void> future) { failureHandler.run(); future.cancel(true); // close SSE channel }
suggest:
In the source code, "failureHandler" is changed to "Consumer<?" super Throwable> errorConsumer

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.