From 63f8629037d7684e7f1ecd44637aee7592526b41 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Sun, 14 May 2023 12:35:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20claude=E5=A2=9E=E5=8A=A0debug=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F;poe=E6=B7=BB=E5=8A=A0proxy=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/slack/slackClient.js | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/slack/slackClient.js b/utils/slack/slackClient.js index d255f94..abfd7ee 100644 --- a/utils/slack/slackClient.js +++ b/utils/slack/slackClient.js @@ -24,6 +24,7 @@ export class SlackClaudeClient { if (Config.proxy) { option.agent = proxy(Config.proxy) } + option.logLevel = Config.debug ? 'debug': 'info' this.app = new slack.App(option) } else { throw new Error('未配置Slack信息')