Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #102 from nervosnetwork/error-log
Browse files Browse the repository at this point in the history
fix(ethers): log level when instant-finality failed
  • Loading branch information
RetricSu authored Mar 25, 2022
2 parents 92c96a4 + b62e10a commit d1fd363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ethers/src/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ export function _wrapTransaction(
WAIT_TRANSACTION_INTERVAL_MILSECS
);
} catch (error) {
console.error(
`instant-finality failed: unable to fetch ${tx.hash} tx receipt under ${WAIT_TRANSACTION_TIMEOUT_MILSECS} ms. continue.`
console.log(
`instant-finality failed: unable to fetch ${tx.hash} tx receipt under ${WAIT_TRANSACTION_TIMEOUT_MILSECS} ms, will continue to fetch the tx receipt.`
);
}
}
Expand Down

0 comments on commit d1fd363

Please sign in to comment.