mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-19 07:01:35 +00:00
fix: suppress EPIPE errors in pipeBetweenServers when target exits early
This commit is contained in:
@@ -106,6 +106,7 @@ export const pipeBetweenServers = async ({
|
||||
bytes += chunk.length;
|
||||
onProgress?.(bytes);
|
||||
});
|
||||
from.stdout.on("error", () => {});
|
||||
from.stdout.pipe(to.stdin);
|
||||
|
||||
const targetExit = to.exit.then((code) => {
|
||||
|
||||
Reference in New Issue
Block a user