This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git
The following commit(s) were added to refs/heads/master by this push: new 4f689af output response body when failed 4f689af is described below commit 4f689afb2461cfa22c320fc5e7bf9e0ceda98d27 Author: plainheart <y...@all-my-life.cn> AuthorDate: Thu May 5 13:23:32 2022 +0800 output response body when failed --- src/glitch/wakeup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glitch/wakeup.js b/src/glitch/wakeup.js index 2e09bd4..2cbd0af 100644 --- a/src/glitch/wakeup.js +++ b/src/glitch/wakeup.js @@ -10,6 +10,7 @@ const WAKEUP_URL = 'https://apache-incubator-echarts-bot-1.glitch.me/probot'; } }); if (body.indexOf('Welcome to') === -1) { + console.log('Response body:\n', body); throw new Error('bot may not be working.'); } console.log('・゚✧ bot is now working.'); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org