You can clone with
HTTPS or Subversion.
Should catch() not be used to catch errors after individual steps?
In my script, I have long Seq chains which perform multistep procedures, and I'd been using .catch() to respond to errors at multiple points in the chain. Turns out that when any error is encountered, the first catch in the chain is always the one that responds to it, even if execution has already passed that point. Afterwards, execution continues from that catch, often repeating chunks of the chain.
Seq = require('seq');
console.error("First catch", e);
console.log("Should not run, proceed to catch.");
console.error("Second Catch", e);
console.log("Continued after second catch.");
Catch error at individual step. For issue #28