We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
System.err.println
error
1 parent 420b9ff commit a13636aCopy full SHA for a13636a
samples/kotlin-mcp-server/src/main/kotlin/io/modelcontextprotocol/sample/server/main.kt
@@ -18,7 +18,7 @@ fun main(args: Array<String>): Unit = runBlocking {
18
"--sse-server-ktor" -> runSseMcpServerUsingKtorPlugin(port)
19
"--sse-server" -> runSseMcpServerWithPlainConfiguration(port)
20
else -> {
21
- System.err.println("Unknown command: $command")
+ error("Unknown command: $command")
22
}
23
24
0 commit comments