mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02:00
Remove unhandled-promise-rejection handler
This commit is contained in:
@@ -15,13 +15,6 @@ const app = require('../../../../app')
|
||||
require('logger-sharelatex').logger.level('error')
|
||||
const settings = require('settings-sharelatex')
|
||||
|
||||
// treat unhandled promise rejections as failures
|
||||
process.on('unhandledRejection', (e) => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('** Unhandled Promise Rejection **\n', e)
|
||||
throw e
|
||||
})
|
||||
|
||||
module.exports = {
|
||||
running: false,
|
||||
initing: false,
|
||||
|
||||
Reference in New Issue
Block a user