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

store methods do not call back on db error #10

Closed
iantocristian opened this issue Oct 19, 2014 · 2 comments
Closed

store methods do not call back on db error #10

iantocristian opened this issue Oct 19, 2014 · 2 comments

Comments

@iantocristian
Copy link

error handler should cb?

@seanrucker
Copy link

I am noticing this as well. I'm using unique indexes to prevent duplicates. I can't catch the "MongoError: E11000 duplicate key error". After a few seconds I get a timeout.

gkubisa added a commit to gkubisa/seneca-mongo-store that referenced this issue Oct 24, 2015
@gkubisa
Copy link
Contributor

gkubisa commented Oct 24, 2015

I just added the missing callback call in my pull request. The unit tests still have to be extended to cover error scenarios.

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

3 participants