Skip to content

Commit

Permalink
Fixed some examples regarding error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
gomfunkel committed Aug 17, 2012
1 parent d5bddd5 commit 30ec6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -133,7 +133,7 @@ var MailChimpWebhook = require('mailchimp').MailChimpWebhook;

var webhook = new MailChimpWebhook();

webhook.on('error', function (message) {
webhook.on('error', function (error) {
console.log(error.message);
});

Expand Down Expand Up @@ -210,7 +210,7 @@ var oauth = new MailChimpOAuth(options);

console.log(oauth.getAuthorizeUri()); // The MailChimp login URI the user needs to be sent to

oauth.on('error', function (message) {
oauth.on('error', function (error) {
console.log(error.message);
});

Expand Down

0 comments on commit 30ec6b1

Please sign in to comment.