Skip to content
Sign up
Product
Features
Mobile
Actions
Codespaces
Copilot
Packages
Security
Code review
Issues
Integrations
GitHub Sponsors
Customer stories
Team
Enterprise
Explore
Explore GitHub
Learn and contribute
Topics
Collections
Trending
Skills
GitHub Sponsors
Open source guides
Connect with others
The ReadME Project
Events
Community forum
GitHub Education
GitHub Stars program
Marketplace
Pricing
Plans
Compare plans
Contact Sales
Education
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this organization
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
{{ message }}
apache
/
echarts-bot
Public
Notifications
Fork
3
Star
6
Code
Pull requests
0
Actions
Security
Insights
More
Code
Pull requests
Actions
Security
Insights
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
output response body when failed
Loading branch information
plainheart
committed
May 5, 2022
1 parent
ef3e2ce
commit
4f689afb2461cfa22c320fc5e7bf9e0ceda98d27
Showing
1 changed file
with
1 addition
and
0 deletions
.
Split
Unified
There are no files selected for viewing
1
src/glitch/wakeup.js
Show comments
View file
Edit file
Delete file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
@@ -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.'
)
;
Toggle all file notes
Toggle all file annotations
0 comments on commit
4f689af
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.