Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined exception if constructor fails #1

Open
nolanlawson opened this issue Jun 18, 2014 · 1 comment
Open

Undefined exception if constructor fails #1

nolanlawson opened this issue Jun 18, 2014 · 1 comment

Comments

@nolanlawson
Copy link
Member

RiakDOWN was seeing a pouch is not defined here: https://github.com/nolanlawson/pouchdb-all-dbs/blob/master/index.js#L81. It crashed the entire pouchdb-server. That's bad; we should just recover and do something if the constructor fails.

@nolanlawson nolanlawson changed the title possible null exception if constructor fails Undefined exception if constructor fails Jun 18, 2014
@gustavohenke
Copy link

I'm using Cloudant, and they block _all_dbs for unauthenticated users.
So, this plugin causes the same error for me, but on line 119.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants