Skip to content

Commit

Permalink
Merge pull request NomicFoundation#1993 from nomiclabs/task-error
Browse files Browse the repository at this point in the history
Improved error message for missing task arg
  • Loading branch information
zoeyTM authored Oct 25, 2021
2 parents 8b88242 + 70f09e4 commit e07a319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat-core/src/internal/core/errors-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ Please double check how you invoked Hardhat or ran your task.`,
},
MISSING_TASK_ARGUMENT: {
number: 306,
message: "Missing task argument %param%",
message: "The '%param%' parameter expects a value, but none was passed.",
title: "Missing task argument",
description: `You tried to run a task, but one of its required arguments was missing.
Expand Down

0 comments on commit e07a319

Please sign in to comment.