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
Changed typeof err #2553
Milestone
Comments
What function are you passing a callback to that you get this issue? |
hi Valeri // 3.9.7
mongo.model
.where(where)
.sort('species')
.select(selected)
.find(function(err, found) {
console.log(where) // {}
console.log(selected) // species name
console.log(err) // undefined
if (err !== null) {
debug(err.message);
}
}); // 3.9.6
mongo.model
.where(where)
.sort('species')
.select(selected)
.find(function(err, found) {
console.log(where) // {}
console.log(selected) // species name
console.log(err) // null
if (err !== null) {
debug(err.message);
}
}); |
Yeah I think this may be related to some work done to add hooks for |
you're welcome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys,
with version 3.9.7 (unstable), unlike since <= 3.9.6
err
argument, on callback function, is changed fromnull
toundefined
is that correct?
The text was updated successfully, but these errors were encountered: