Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
throw arguments[1]; // Unhandled 'error' event
Error: error parsing url
at Parser.execute (/home/joe/Devel/node_modules/bouncy/node_modules/parsley/index.js:24:27)
at Socket.<anonymous> (/home/joe/Devel/node_modules/bouncy/node_modules/parsley/index.js:11:14)
at Socket.emit (events.js:64:17)
at Socket._onReadable (net.js:672:14)
at IOWatcher.onReadable [as callback] (net.js:177:10)

Have you tried throw new Error(arguments[1]) instead?

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