diff --git a/src/cdn/downloadUrlContents.ts b/src/cdn/downloadUrlContents.ts index adc0515..efe910a 100644 --- a/src/cdn/downloadUrlContents.ts +++ b/src/cdn/downloadUrlContents.ts @@ -16,7 +16,6 @@ export default function downloadUrlContents({ host, path, size }: {host: string, const folderName = nodePath.dirname(tempFileName); createDirRecursively(folderName).then(() => { //Check if file already exists locally - console.log('Checking local cache...', tempFileName, size); checkLocalCache(tempFileName, size).then((cacheStatus) => { if (cacheStatus) { return resolve(tempFileName); diff --git a/src/ssn/patcher-installer/launch.ts b/src/ssn/patcher-installer/launch.ts index 56177dc..a509db6 100644 --- a/src/ssn/patcher-installer/launch.ts +++ b/src/ssn/patcher-installer/launch.ts @@ -32,7 +32,7 @@ export default function launchProcess( spawnedProcess.stderr.setEncoding('utf8'); spawnedProcess.stderr.on('data', (error) => { - reject(`Error in process:\n> ${processPath} ${parameters.join('v')}\nerror`); + reject(`Error in process:\n> ${processPath} ${parameters.join(' ')}\n${error}`); }); }); }