mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[Log] Change spawnAsync log level from error to debug in case of not null status
This commit is contained in:
@ -606,7 +606,8 @@ function* ExecuteTask(task) {
|
||||
}, waitMS);
|
||||
childRes = yield spawnAsyncPromise;
|
||||
} catch (err) {
|
||||
logger.error('error spawnAsync(id=%s)\r\n%s', cmd.getDocId(), err.stack);
|
||||
let fLog = null === err.status ? logger.error : logger.debug;
|
||||
fLog.call(logger, 'error spawnAsync(id=%s)\r\n%s', cmd.getDocId(), err.stack);
|
||||
childRes = err;
|
||||
}
|
||||
if (undefined !== timeoutId) {
|
||||
|
||||
Reference in New Issue
Block a user