diff --git a/dist/index.js b/dist/index.js index fbbc9b8..858600f 100755 --- a/dist/index.js +++ b/dist/index.js @@ -492,8 +492,9 @@ const sshDeploy = (() => { nodeRsync({ src, dest, args, privateKey, ssh: true, port, sshCmdArgs: ['-o StrictHostKeyChecking=no'], recursive: true }, (error, stdout, stderr, cmd) => { if (error) { console.error('⚠️ Rsync error', error.message); - console.log(stderr); - console.log(stdout); + console.log('stderr: ', stderr); + console.log('stdout: ', stdout); + console.log('cmd: ', cmd); process.abort(); } else { console.log("✅ Rsync finished.", stdout); diff --git a/src/index.js b/src/index.js index 9c6df69..216db25 100644 --- a/src/index.js +++ b/src/index.js @@ -17,8 +17,9 @@ const sshDeploy = (() => { nodeRsync({ src, dest, args, privateKey, ssh: true, port, sshCmdArgs: ['-o StrictHostKeyChecking=no'], recursive: true }, (error, stdout, stderr, cmd) => { if (error) { console.error('⚠️ Rsync error', error.message); - console.log(stderr); - console.log(stdout); + console.log('stderr: ', stderr); + console.log('stdout: ', stdout); + console.log('cmd: ', cmd); process.abort(); } else { console.log("✅ Rsync finished.", stdout);