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 67f91a1 commit 51b814dCopy full SHA for 51b814d
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