Skip to content

Commit

Permalink
spotify: don't throw on unhandled commands
Browse files Browse the repository at this point in the history
  • Loading branch information
adammw committed Mar 10, 2014
1 parent 8a77a7b commit 642026d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/spotify.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,7 @@ Spotify.prototype._onmessagecommand = function (command, args) {
// ignore...
} else {
// unhandled message
console.error(command, args);
throw new Error('TODO: implement!');
debug('unhandled %j command, args: %j', command, args);
}
};

Expand Down

0 comments on commit 642026d

Please sign in to comment.