mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 20:01:58 +00:00
Remove unhandled-promise-rejection handler
This commit is contained in:
parent
a4d0813acb
commit
a18146612a
1 changed files with 0 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue