Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove debug throw

  • Loading branch information...
commit 3a2ad2199e8eefec525438fae8c96cefd9dbe0f1 1 parent 78df984
Tim Caswell creationix authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. +1 4 socket/worker.js
5 socket/worker.js
@@ -30,10 +30,7 @@ module.exports = function setup(fsOptions) {
30 30 if (stream.readable) {
31 31 stream.on("data", function (chunk) {
32 32 var ret = remote.send(["onData", id, chunk], function () {
33   - if (ret === false) {
34   - throw new Error("WOOP!");
35   - stream.resume();
36   - }
  33 + stream.resume();
37 34 });
38 35 if (ret === false) stream.pause();
39 36 });

0 comments on commit 3a2ad21

Please sign in to comment.
Something went wrong with that request. Please try again.