Replace console.log in catches with console.error

This commit is contained in:
Schuyler Cebulskie
2016-09-27 18:50:01 -04:00
parent 8d18ed42f6
commit b6c26cc2ae
9 changed files with 39 additions and 39 deletions

View File

@@ -47,7 +47,7 @@ class Channel {
* // delete the channel
* channel.delete()
* .then() // success
* .catch(console.log); // log error
* .catch(console.error); // log error
*/
delete() {
return this.client.rest.methods.deleteChannel(this);