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
I used sailsjs and node-maxmind-db, when ip is invalid, app is crash code in coffee:
ip = '113.183.205.64,66.249.82.67'; mmdbreader.open GEOPATH, (error, countries) -> countries.getGeoData ip, (error, geodata) -> if error sails.log.error 'expected come here' return callback true, MessageService.common.system(error) sails.log.error geodata
thanks
The text was updated successfully, but these errors were encountered:
We are seeing this also. Instead of calling the callback with an error we instead get a crash.
In our case we were passing 'undefined' as the IP accidentally and it crashed the process due to no out try/catch block.
Sorry, something went wrong.
https://github.com/runk/node-maxmind
No branches or pull requests
I used sailsjs and node-maxmind-db, when ip is invalid, app is crash
code in coffee:
thanks
The text was updated successfully, but these errors were encountered: