2013/5/9 Niv Sardi <notifications@github.com>

> In drivers/playlists/mongo-driver.js:
>
> >          if( this.inTime(msg.model) ) {
> >              this.createPlaylist(msg.model, (function(err, playlist) {
> > -                if( err )
> > +                if( err ) {
> > +                    self.emit('error', err);
> >                      return console.error("mongo-driver [ERROR]:", err);
>
> I agree with @Lacrymology <https://github.com/Lacrymology> no need to
> clutter,
> it's an error emitted by the playlist driver object.
> it's irrelevant to add more data here.
> and if another driver wants to forward it, it can do so quite easily.
>

Ok, but I think @Lacrymology's idea of creating a MongoPlaylistDriverError
would be nice, elegant and clearer.

> —
> Reply to this email directly or view it on GitHub<https://github.com/inaes-tic/mbc-mosto/pull/100/files#r4159126>
> .
>