Merge pull request #499 from neysanfoo/catch-error

add missing error in try catch
This commit is contained in:
Thomas Hobson 2022-08-13 13:40:49 +12:00 committed by GitHub
commit f2da04ad8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ class Job {
// Then clear them out of the process tree
try {
process.kill(proc, 'SIGKILL');
} catch {
} catch(e) {
// Could already be dead and just needs to be waited on
this.logger.debug(
`Got error while SIGKILLing process ${proc}:`,