Skip to content

Differentiate "Session not found" from a regular HTTP 404 response #426

@YunKuiLu

Description

@YunKuiLu

else if (isNotFound(response)) {
String sessionIdRepresentation = sessionIdOrPlaceholder(transportSession);
return mcpSessionNotFoundError(sessionIdRepresentation);
}

It currently shows "Session not found" even when the HTTP endpoint doesn't exist, which can be misleading for developers.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions