old_contents: import preInit from '../common/pre-init';
  
  process.on('unhandledRejection', (reason, p) => {
    console.error('Unhandled Rejections:');
    console.error(reason);
    console.error('Caused by:');
    console.error(p);
  
    process.exit(1);
  });
  
  preInit().then(() => {
    require('./init'); // eslint-disable-line global-require
  });
  
new_contents: import preInit from '../common/pre-init';
  
  process.on('unhandledRejection', reason => {
    console.error('Unhandled Rejections:');
    console.error(reason);
  
    process.exit(1);
  });
  
  preInit().then(() => {
    require('./init'); // eslint-disable-line global-require
  });
  
subject: Remove “caused by“ from unhandled rejection messages, it merely repeats the same information