hannesgassert/mojo — comment on commit c804864efa37f4f4dab0e2046045c1d1a159c002
File: src/mojo.coffee line 39
By hannesgassert:

I don't see how, the error "unauthenticated" when making unauthenticated queries just doesn't seem to be passed through the driver.

I guess always authenticating and doing `throw new Error authErr if authErr && opt.username && opt.password` is the most sensible thing to do here. Either you're caring about authentication and then you provide a username and password .. or you don't.