Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8a41e2b3d | ||
|
|
31940caa84 | ||
|
|
880334054e |
@@ -25,6 +25,7 @@ class AppLogger {
|
|||||||
loggerParams = [
|
loggerParams = [
|
||||||
{log: 'ConsoleLog'},
|
{log: 'ConsoleLog'},
|
||||||
{log: 'FileLog', fileName: `${config.logDir}/${config.name}.log`},
|
{log: 'FileLog', fileName: `${config.logDir}/${config.name}.log`},
|
||||||
|
{log: 'FileLog', fileName: `${config.logDir}/${config.name}.err.log`, exclude: [LM_OK, LM_INFO]},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -74,8 +74,7 @@ class ReaderWorker {
|
|||||||
try {
|
try {
|
||||||
decompFiles = await this.decomp.decompressNested(downloadedFilename, decompDir);
|
decompFiles = await this.decomp.decompressNested(downloadedFilename, decompDir);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (this.config.branch == 'development')
|
log(LM_ERR, e.stack);
|
||||||
console.error(e);
|
|
||||||
throw new Error('Ошибка распаковки');
|
throw new Error('Ошибка распаковки');
|
||||||
}
|
}
|
||||||
wState.set({progress: 100});
|
wState.set({progress: 100});
|
||||||
|
|||||||
Reference in New Issue
Block a user