-
Notifications
You must be signed in to change notification settings - Fork 39
weird exception #3
Comments
This is quite the stack trace. I'd venture to guess that the cause of your exception would be a lack of proper error checking when getting a collection from the database to make sure that no error occurred during the fetching. Basically, you experienced some kind of database failure and the library you were using did not safeguard against it to handle that gracefully. If I decide to use express-brute, I'll take a good look at the code and see if I can spot where it could have occurred. |
Is not a db failure,this library expect a collection object but instead he passed undefined. I should do a better handling of this and throw a more descriptive error |
Thanks for the feedback. I should be more rigorous with bad input handling from programmers in my libraries as well. |
The text was updated successfully, but these errors were encountered: