mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Added missing process.
This commit is contained in:
parent
709bdd7888
commit
77c2b8c8cc
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
// As of v14, Node.js does not exit when there is an unhandled Promise rejection. Convert an
|
||||
// unhandled rejection into an uncaught exception, which does cause Node.js to exit.
|
||||
|
||||
import process from 'node:process'
|
||||
|
||||
process.on('unhandledRejection', (err) => { throw err; });
|
||||
|
||||
import fs from 'node:fs';
|
||||
|
|
Loading…
Reference in a new issue