Skip to content

Commit 7c0a8db

Browse files
committed
Refine error categorization language in errors.mdx for clarity
1 parent 2ace1dd commit 7c0a8db

File tree

1 file changed

+2
-2
lines changed
  • develop-docs/sdk/expected-features/mcp-instrumentation

1 file changed

+2
-2
lines changed

develop-docs/sdk/expected-features/mcp-instrumentation/errors.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ All MCP server method handlers (`tool`, `resource`, `prompt`) are wrapped to:
4747

4848
### Error Categorization
4949

50-
Errors are categorized and tagged based on the handler and error type:
50+
Errors are categorized and tagged according to the handler and type of error:
5151

5252
- **Tool handler errors:**
5353
- `validation` (e.g., protocol/validation errors)
@@ -74,4 +74,4 @@ All errors are captured within the context of the active Sentry span, so you can
7474
The MCP transport layer is also instrumented to:
7575
- Create spans for incoming/outgoing messages
7676
- Capture errors in transport event handlers (e.g., `onerror`)
77-
- Correlate protocol errors with the correct request/response
77+
- Correlate protocol errors with the correct request/response

0 commit comments

Comments
 (0)