From 70f09e450a323e68d5d14f9a1e20195aec4da12f Mon Sep 17 00:00:00 2001 From: morgansliman Date: Mon, 25 Oct 2021 14:07:10 -0400 Subject: [PATCH] Improved error message for missing task arg --- packages/hardhat-core/src/internal/core/errors-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat-core/src/internal/core/errors-list.ts b/packages/hardhat-core/src/internal/core/errors-list.ts index b4d3932668..64406fd34d 100644 --- a/packages/hardhat-core/src/internal/core/errors-list.ts +++ b/packages/hardhat-core/src/internal/core/errors-list.ts @@ -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.