Улучшение обработки ошибок
This commit is contained in:
@@ -308,7 +308,7 @@ class BUCServer {
|
|||||||
where: `@@id(${db.esc(row.id)})`
|
where: `@@id(${db.esc(row.id)})`
|
||||||
});
|
});
|
||||||
|
|
||||||
log(LM_ERR, `error ${row.id} > ${e.stack}`);
|
log(LM_ERR, `error ${row.id} > ${e.stack ? e.stack : e.message}`);
|
||||||
} finally {
|
} finally {
|
||||||
(async() => {
|
(async() => {
|
||||||
await utils.sleep(this.sameHostCheckInterval);
|
await utils.sleep(this.sameHostCheckInterval);
|
||||||
|
|||||||
Reference in New Issue
Block a user