ekalinin / robots.js

Parser for robots.txt for node.js
MIT License
66 stars 21 forks source link

Handle http(s) request errors #8

Closed kunev closed 11 years ago

kunev commented 11 years ago

Add a handler for the 'error' event on the request object. It sets a error field on the parser object and calls after_parse with success = false

ekalinin commented 11 years ago

Thanks for patch!

heath commented 11 years ago

Could you merge this into the main branch and update the npm repo?

ekalinin commented 11 years ago

Oops. It seems i forgot to merge it. Fixed.

ekalinin commented 11 years ago

Uploaded into npm: