Fix UnhandledPromiseRejectionWarning in contracts with bad name resolution #2737
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
Reported in Discord by
NguyenTran
.When using
contract.connect(undefined)
, the flow triggers a Promise which may never be checked, which may throw.This causes node.js to raise a UnhandledPromiseRejectionWarning, which may abort the node process.
I've already added a local fix, which will be published with the v5.6 branch and this issue is mainly for tracking purposes.
The text was updated successfully, but these errors were encountered: