title: How to catch an Uncaught exception in a callback in a promise
body: <p>I have a big problem with node.js.</p>
  
  <p>For information, i used the version 0.12 because our app is so complexe and large, it's not possible to migrate easilly onto newest version.</p>
  
  <p>And, with that, many functions are callbacks functions. </p>
  
  <p>But, in new part of this projet I want to use Promises to easilly catch errors. And I have a problem with an uncaught exception in the event loop. </p>
  
  <p>This is the test code :</p>
  
  <pre><code>process.on('uncaughtException', function (err) {
      console.error('Uncaught Exception');
  });
  
  new Promise(function () {
      process.nextTick(function () {
          var a = null;
  
          a.b;
      });
  }).catch(function (e) {
      console.log('catched by Promise');
  });
  </code></pre>
  
  <p>If I test this code, Systematically I pass onto the <code>uncaughtException</code>.</p>
  
  <p>It's possible to capture this type of error with promises ?</p>
  
  <p>Thanks</p>