This commit is contained in:
Alexey 2020-09-28 17:55:01 +03:00
parent 5a94966e98
commit 383693bd44
3 changed files with 66 additions and 65 deletions

View file

@ -90,7 +90,7 @@ async function init() {
init()
process.on('unhandledRejection', error => {
process.on('unhandledRejection', (error) => {
console.error('Unhandled promise rejection', error)
process.exit(1)
})