Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
b8d1459d38
commit
60adaebcda
1 file changed
+1
-1
+1
-1
@@ -61,7 +61,7 @@ const log = async (level: LoggingLevel, message: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await mcpServer?.server.sendLoggingMessage({ level, data: { message, time } });
|
await mcpServer.server.sendLoggingMessage({ level, data: { message, time } });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Error sending logging message: ${error}`);
|
console.error(`Error sending logging message: ${error}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user