1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-10-09 04:00:03 +02:00

fixed try catch

This commit is contained in:
Neysan Foo 2022-07-04 15:24:10 +08:00
parent 0c0be54505
commit 52dd07ce20

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}:`,