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

fix(ethers): log level when instant-finality failed #102

Merged
merged 2 commits into from
Mar 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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