diff --git a/packages/hardhat-verify/src/internal/tasks/etherscan.ts b/packages/hardhat-verify/src/internal/tasks/etherscan.ts index f3b93e5589..1154f8abf7 100644 --- a/packages/hardhat-verify/src/internal/tasks/etherscan.ts +++ b/packages/hardhat-verify/src/internal/tasks/etherscan.ts @@ -103,12 +103,12 @@ subtask(TASK_VERIFY_ETHERSCAN) chainConfig ); - let isVerified = false + let isVerified = false; try { isVerified = await etherscan.isVerified(address); } catch (err) { if (!force || err instanceof NetworkRequestError) { - throw err + throw err; } // https://github.com/blockscout/blockscout/issues/9001 }