mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #5964 from overleaf/bg-fix-error-handling-in-scripts
[document-updater] fix error handling in scripts GitOrigin-RevId: d80506e0e42ffce70e9eb3571e02bea274f7a263
This commit is contained in:
@@ -94,9 +94,7 @@ clientPromise.then(client => {
|
||||
console.log('DONE')
|
||||
})
|
||||
.catch(function (error) {
|
||||
if (error) {
|
||||
throw error
|
||||
}
|
||||
return process.exit()
|
||||
console.error(error)
|
||||
process.exit(1)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user