You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user runs a task with an unknown build profile, we get a typeerror:
npx hardhat compile --build-profile nonexistant
Compiling your Solidity contracts
An unexpected error occurred:
TypeError: Cannot read properties of undefined (reading 'overrides')
# ... lots more lines of stack trace ...
If you think this is a bug in Hardhat, please report it here: https://hardhat.org/report-bug
We should report a specific named error instead, it should not be reported to Sentry. For reference here is what happens when network does not exist:
npx hardhat run ./scripts/send-op-tx.ts --network nonexistant
Compiling your Solidity contracts
Compiled 3 Solidity files with solc 0.8.24 (evm target: shanghai)
Error HHE705: The network nonexistant is not defined in your networks config.
For more info go to https://hardhat.org/HHE705 or run Hardhat with --show-stack-traces
The text was updated successfully, but these errors were encountered:
If the user runs a task with an unknown build profile, we get a typeerror:
We should report a specific named error instead, it should not be reported to Sentry. For reference here is what happens when network does not exist:
npx hardhat run ./scripts/send-op-tx.ts --network nonexistant Compiling your Solidity contracts Compiled 3 Solidity files with solc 0.8.24 (evm target: shanghai) Error HHE705: The network nonexistant is not defined in your networks config. For more info go to https://hardhat.org/HHE705 or run Hardhat with --show-stack-traces
The text was updated successfully, but these errors were encountered: