Browse Source

net: fix throw error

Thanks Tobi
v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
827b9c5f1f
  1. 2
      lib/net.js

2
lib/net.js

@ -1053,7 +1053,7 @@ Server.prototype.listen = function() {
if (err.errno == ENOENT) {
self._doListen(path);
} else {
throw r;
throw err;
}
} else {
if (!r.isSocket()) {

Loading…
Cancel
Save