Поправки логирования

This commit is contained in:
Book Pauk
2019-11-03 18:05:02 +07:00
parent 880334054e
commit 31940caa84
2 changed files with 2 additions and 2 deletions

View File

@@ -74,8 +74,7 @@ class ReaderWorker {
try {
decompFiles = await this.decomp.decompressNested(downloadedFilename, decompDir);
} catch (e) {
if (this.config.branch == 'development')
console.error(e);
log(LM_ERR, e.stack);
throw new Error('Ошибка распаковки');
}
wState.set({progress: 100});