Skip to content

Commit f2da04a

Browse files
authored
Merge pull request #499 from neysanfoo/catch-error
add missing error in try catch
2 parents 2ff1a96 + c673446 commit f2da04a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/job.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ class Job {
386386
// Then clear them out of the process tree
387387
try {
388388
process.kill(proc, 'SIGKILL');
389-
} catch {
389+
} catch(e) {
390390
// Could already be dead and just needs to be waited on
391391
this.logger.debug(
392392
`Got error while SIGKILLing process ${proc}:`,

0 commit comments

Comments
 (0)