Gracefully handle webpages that cannot be parsed with jsdom/jQuery #42

merged 1 commit into from Aug 6, 2011


None yet

2 participants


This adds a try/catch block around the initialization of jsdom/jQuery for a fetched webpage and returns the exception (if any) as the callback err parameter instead of crashing the process.


Perfect, thanks

@chriso chriso merged commit b26a86c into node-js-libs:master Aug 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment