Explorar o código

增加重试成功log

DevYK %!s(int64=2) %!d(string=hai) anos
pai
achega
e6d10b4e2e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      model/moralis_sdk.js

+ 1 - 1
model/moralis_sdk.js

@@ -201,7 +201,7 @@ async function getAccountBalances(options) {
             tryCount -= 1;
             await utils.sleep(delay)
             delay += interval
-          
+            logger.error('getBalances error:', JSON.stringify(options), "重试:" + tryCount +"次")
            
         }
     } while (tryCount >= 1);