From ea156359e941a671e1773c5cb9d4d46933618af8 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 23 Aug 2011 14:24:50 -0700 Subject: [PATCH] net_legacy: Fix throw typo Thanks Tobi --- lib/net_legacy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net_legacy.js b/lib/net_legacy.js index 7f24e6b39c..d9c47ba035 100644 --- a/lib/net_legacy.js +++ b/lib/net_legacy.js @@ -1073,7 +1073,7 @@ Server.prototype.listen = function() { if (err.errno == ENOENT) { self._doListen(path); } else { - throw r; + throw err; } } else { if (!r.isSocket()) {