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
});

@@ -73,19 +73,14 @@
 n', 
-(
 reason
-, p)
  =%3E 
@@ -151,59 +151,8 @@
 on);
-%0A  console.error('Caused by:');%0A  console.error(p);
 %0A%0A  

Remove “caused by“ from unhandled rejection messages, it merely repeats the same information