Skip to content

Exception handling improvment #577

@fvdcx

Description

@fvdcx

When an exception happens during tool calls, if it's not MCPException, the error message is $"An error occurred invoking '{request.Params?.Name}'.";

The message doesn't contain too much info, why can't we print exception type and message as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions