From 5b5dc528d3b6f10c2c8f86a9345530bc19b25760 Mon Sep 17 00:00:00 2001 From: bossgeekgo Date: Tue, 13 Feb 2024 16:19:53 +0800 Subject: [PATCH] output rather than no handle err in run-core --- packages/run-core-of-geek-auto-start-chat-with-boss/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/run-core-of-geek-auto-start-chat-with-boss/index.mjs b/packages/run-core-of-geek-auto-start-chat-with-boss/index.mjs index 2f058dc..c8fae8a 100644 --- a/packages/run-core-of-geek-auto-start-chat-with-boss/index.mjs +++ b/packages/run-core-of-geek-auto-start-chat-with-boss/index.mjs @@ -36,7 +36,7 @@ const initPlugins = (hooks) => { try { await mainLoop(hooks) } catch (err) { - void err + console.error(err) } } })() \ No newline at end of file