We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d993b6d commit 332bfd7Copy full SHA for 332bfd7
1 file changed
apps/twig/src/main/lib/process-utils.ts
@@ -23,8 +23,8 @@ export function killProcessTree(pid: number): void {
23
// If SIGTERM fails (process may have already exited), try SIGKILL
24
try {
25
process.kill(-pid, "SIGKILL");
26
- } catch {
27
- // Process group may have already exited
+ } catch (err) {
+ log.warn(`Failed to kill process group for PID ${pid}`, err);
28
}
29
30
0 commit comments