Make docs catches use console.error

This commit is contained in:
Schuyler Cebulskie
2016-10-26 21:37:19 -04:00
parent d6f4a4e1a0
commit ab6750d06d
4 changed files with 5 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ class Webhook {
* 'footer': 'Powered by sneks',
* 'ts': new Date().getTime() / 1000
* }]
* }).catch(console.log);
* }).catch(console.error);
*/
sendSlackMessage(body) {
return this.client.rest.methods.sendSlackWebhookMessage(this, body);