Commit 59cebe0
committed
Improve error handling for message enqueue failure
- Update sendMessage method to provide more detailed error information
- Remove unnecessary imports and improve code readability1 parent 07e7b8f commit 59cebe0
File tree
1 file changed
+3
-7
lines changed- mcp/src/main/java/io/modelcontextprotocol/server/transport
1 file changed
+3
-7
lines changedLines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
148 | 146 | | |
149 | 147 | | |
150 | 148 | | |
151 | | - | |
152 | 149 | | |
153 | | - | |
| 150 | + | |
| 151 | + | |
154 | 152 | | |
155 | 153 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 154 | + | |
159 | 155 | | |
160 | 156 | | |
161 | 157 | | |
| |||
0 commit comments