Skip to content

Commit 3c90e40

Browse files
committed
Immediate: fix deploy crashing
1 parent 537a25a commit 3c90e40

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

server-src/pinggy.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ function spawnTunnel(index) {
7272
});
7373
}
7474
});
75+
76+
child.stdin.on('error', (err) => {
77+
if (err.code === 'EPIPE') {
78+
// Silently ignore or log that the pipe is closed
79+
return;
80+
}
81+
});
7582

7683
// Capture errors to help with debugging
7784
child.stderr.on("data", (data) => {

0 commit comments

Comments
 (0)