1
This commit is contained in:
parent
a739057557
commit
aefb48be3d
@ -159,6 +159,7 @@ class ContractExecutor {
|
||||
utils.jsonEncode(this.getLogData()),
|
||||
utils.jsonEncode(result),
|
||||
currBlockNumber);
|
||||
const blockNumber = result['blockNumber'];
|
||||
await this.onSyncSuccess(this.syncLogClass, result);
|
||||
} catch (err) {
|
||||
await dblog.addLog(
|
||||
|
@ -323,7 +323,12 @@ class BoxOrder {
|
||||
}
|
||||
|
||||
async suspend(logClass, reason) {
|
||||
//挂起等待人工处理
|
||||
/*
|
||||
挂起等待人工处理
|
||||
为啥不抛出异常是因为:
|
||||
如果在调用接口的外部try catch的话,那么挂起操作产生的异常会被吞噬,这样非常危险!!!
|
||||
挂起的操作现在为无限等待不受外部try catch影响。
|
||||
*/
|
||||
try {
|
||||
log.warning(util.format('%s suspend orderDb:%s reason:%s',
|
||||
logClass,
|
||||
|
Loading…
x
Reference in New Issue
Block a user