Permalink
Browse files

Remove debug throw

  • Loading branch information...
1 parent 78df984 commit 3a2ad2199e8eefec525438fae8c96cefd9dbe0f1 @creationix creationix committed Apr 25, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 socket/worker.js
View
@@ -30,10 +30,7 @@ module.exports = function setup(fsOptions) {
if (stream.readable) {
stream.on("data", function (chunk) {
var ret = remote.send(["onData", id, chunk], function () {
- if (ret === false) {
- throw new Error("WOOP!");
- stream.resume();
- }
+ stream.resume();
});
if (ret === false) stream.pause();
});

0 comments on commit 3a2ad21

Please sign in to comment.