Unhandled error event #292

Closed
scan opened this Issue Jul 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants

scan commented Jul 27, 2012

As illustrated in this, there seems to be no error management in case the HTTP parsing fails. I think. I am not quite sure. I just get this error:

events.js:66
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: Parse Error
    at Socket.socketOnData (http.js:1356:20)
    at TCP.onread (net.js:404:27)

I can't catch that error, it just ends my script. I would like to catch it, because my script is supposed to be finding these error on a list of 21,000 urls.

Owner

mikeal commented Aug 27, 2014

I think this was fixed in core.

mikeal closed this Aug 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment