title: Why I get additional error message by Node.js for my code with try/catch?
body: <p>I use try/catch block inside of async function but I get some additional error message by Node.js. My code:  </p>
  
  <pre><code>const work = count =&gt; {
      const promise = new Promise((resolve,reject) =&gt; {
          const interval = setInterval(() =&gt; {
              console.log(count--);
              if(!count){
                  try{
                      clearInterval(interval);
                      throw 'Oops...'; // emulate unexpected error...
                      resolve('Work done!');
                  }
                  catch(err){
                      reject(err);
                  }
              }
          }, 1000);
          console.log('Bingo!');
      });
      return promise;
  };
  
  const promise = work(3);
  promise.then(context =&gt; console.log(`Ressult: ${context}`));
  promise.catch(err =&gt; console.log(`Error: ${err}`));
  </code></pre>
  
  <p>Result:</p>
  
  <p><a href="https://i.stack.imgur.com/kR2e8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kR2e8.png" alt="enter image description here"></a></p>
  
  <p>What I did wrong?</p>