Skip to content

Commit e570eee

Browse files
committed
Fixed logging for SSE
1 parent e841b4d commit e570eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftMCP/Transport/HTTPLogger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
if let str = buffer.getString(at: buffer.readerIndex, length: buffer.readableBytes) {
8181
if isSSEConnection {
8282
// For SSE, log each message immediately
83-
sseLogger.trace("Message: \(str)")
83+
sseLogger.trace("\(str)")
8484
} else {
8585
currentResponseBody += str
8686
}

0 commit comments

Comments
 (0)