title: Catching errors in ES6 promises
body: <p>Does anybody have any thoughts about ES6 promises, I'm using them in my Node app and I love them, on the most part. But Ive found that if I get some sort of error in a resolve callback, it won't throw an error or execute the reject callback, and its leaving me with my server hanging infinitely.</p>
  
  <p>For now I've resorted to doing this, and manually rejecting the promise with the caught error, but I'm not sure if this a great way to handle, and/or if I should be using promises at all.</p>
  
  <pre><code>this.dataStore.set(newID, value).then( (foo) =&gt; {
      try{
          this.var = foo;
          res({val: foo});
      }catch(e){
          rej(e);
      }
  }, (e) =&gt; {
      rej(e);
  });
  </code></pre>