i++; gp +=1; abcWeb.abx.getENumber().then(console.log);}
但是当发生UnhandledPromiseRejectionWarning是否有可能绕过UnhandledPromiseRejectionWarning错误?如何对这些错误进行循环以跳过?UnhandledPromiseRejectionWarning错误通常出现在符号函数和/或sendSignedTransaction之后。我只想绕过它。
: Error: read ECONNRESET
(node:5293) UnhandledPromiseRejectionWarning: Unhandled promise rejection.This error originated either by throwing inside of an async function without a catch block, or by
(node:30075) UnhandledPromiseRejectionWarning: Unhandled promise rejection.This error originated either by throwing inside of an async function without a catch block, or by rejecting