In sse.ts, /message endpoint, if transport isn't found for the given sessionId, output a "No transport found for sessionId" message.

This commit is contained in:
cliffhall
2025-05-28 17:29:42 -04:00
parent 2da9f33969
commit 3adf59409c

View File

@@ -42,6 +42,8 @@ app.post("/message", async (req, res) => {
if (transport) {
console.error("Client Message from", sessionId);
await transport.handlePostMessage(req, res);
} else {
console.error(`No transport found for sessionId ${sessionId}`)
}
});