Skip to content

Commit

Permalink
[minor] Proper error namespace for Twitter auth error events.
Browse files Browse the repository at this point in the history
  • Loading branch information
AvianFlu committed Aug 11, 2011
1 parent c2ec3fd commit d8e0694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter.js
Expand Up @@ -28,7 +28,7 @@ var Twitter = exports.Twitter = function(options) {
self.recentTweets = self.config.get('recentTweets');
self.verify(function (err) {
if (err) {
self.emit('badTwitterCreds', err.message);
self.emit('error::twitterCreds', err.message);
return;
}
self.twitOptions = {
Expand Down

0 comments on commit d8e0694

Please sign in to comment.