Skip to content

Instantly share code, notes, and snippets.

@FLYBYME
Created October 31, 2011 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FLYBYME/1327137 to your computer and use it in GitHub Desktop.
Save FLYBYME/1327137 to your computer and use it in GitHub Desktop.
events.js:45
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)
Copy link

ghost commented Nov 3, 2011

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