We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a859805 commit bf41e16Copy full SHA for bf41e16
event-handler/on.js
@@ -9,7 +9,7 @@ function receiverOn (state, webhookNameOrNames, handler) {
9
}
10
11
if (webhookNames.indexOf(webhookNameOrNames) === -1) {
12
- throw new Error(`${webhookNameOrNames} is not a valid webhook name`)
+ console.warn(`"${webhookNameOrNames}" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)`)
13
14
15
if (!state.hooks[webhookNameOrNames]) {
0 commit comments