We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var myid = 'bad'; Model.find(myid).error(function(err){ console.log("never gets called"); });
The above throws a 500 error, kills the server and never calls the error handler.
Model.find({where: {id: myid}}).error(function(err){ console.log("gets called"); });
This however calls the error handler and proceeds properly.
The text was updated successfully, but these errors were encountered:
+1 on this issue. I'm having to check for null within the success and throw my own error. It's a bit of a pain.
Sorry, something went wrong.
6ec6f6e
Merge pull request #737 from durango/badid
cb07b46
Strings for .find() should be fixed. Also added support for string primary keys to be found easily. Closes #735
No branches or pull requests
The above throws a 500 error, kills the server and never calls the error handler.
This however calls the error handler and proceeds properly.
The text was updated successfully, but these errors were encountered: