fix: Log rsync command

This commit is contained in:
Dragan Filipovic 2023-01-02 21:37:23 +01:00
parent 5c0c73092e
commit 85f4a96743

View File

@ -14,6 +14,7 @@ const nodeRsyncPromise = async (config) => new Promise((resolve, reject) => {
console.error('❌ [Rsync] cmd: ', cmd); console.error('❌ [Rsync] cmd: ', cmd);
reject(new Error(`${error.message}\n\n${stderr}`)); reject(new Error(`${error.message}\n\n${stderr}`));
} else { } else {
console.log('[Rsync] cmd finished: ', cmd);
resolve(stdout); resolve(stdout);
} }
}); });