Warn on errors when killing process group
This commit is contained in:
parent
f9b8fbd9c0
commit
349beeb45a
|
@ -129,7 +129,8 @@ class Job {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
process.kill(-proc.pid, 'SIGKILL');
|
process.kill(-proc.pid, 'SIGKILL');
|
||||||
} catch {
|
} catch(e) {
|
||||||
|
logger.warn(e)
|
||||||
// Process will be dead already, so nothing to kill.
|
// Process will be dead already, so nothing to kill.
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue