title: Can I make nodejs terminate on unhandled promise rejections?
body: <p>I've got a bug in my code which is triggering the warning:</p>
  
  <p><code>DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.</code></p>
  
  <p>Is there any way to make Node terminate when these happen?</p>