From db2d53ef6238fc55c6ae2ae2a89e5180c7fbb44a Mon Sep 17 00:00:00 2001 From: Ralph Waldenmaier Date: Tue, 4 Feb 2025 09:53:22 +0100 Subject: [PATCH 1/2] Fixing error message: Pointing to correct value --api-gateway-emulator-mode --- .../src/Amazon.Lambda.TestTool/Commands/RunCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Commands/RunCommand.cs b/Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Commands/RunCommand.cs index 2dd4395c7..ce21b9ff5 100644 --- a/Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Commands/RunCommand.cs +++ b/Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Commands/RunCommand.cs @@ -65,7 +65,7 @@ public override async Task ExecuteAsync(CommandContext context, RunCommandS { if (settings.ApiGatewayEmulatorMode is null) { - throw new ArgumentException("When --api-gateway-emulator-port is set the --api-gateway-mode must be set to configure the mode for the API Gateway emulator."); + throw new ArgumentException("When --api-gateway-emulator-port is set the --api-gateway-emulator-mode must be set to configure the mode for the API Gateway emulator."); } var apiGatewayEmulatorProcess = From ea7c59488cd5973acf2483b3dbefe7a411e90426 Mon Sep 17 00:00:00 2001 From: Ralph Waldenmaier Date: Fri, 7 Feb 2025 10:50:40 +0100 Subject: [PATCH 2/2] Adding a information file for proposed changes --- .../changes/a1844c2a-731e-4bc8-9f67-99982c6447a8.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .autover/changes/a1844c2a-731e-4bc8-9f67-99982c6447a8.json diff --git a/.autover/changes/a1844c2a-731e-4bc8-9f67-99982c6447a8.json b/.autover/changes/a1844c2a-731e-4bc8-9f67-99982c6447a8.json new file mode 100644 index 000000000..b118d183b --- /dev/null +++ b/.autover/changes/a1844c2a-731e-4bc8-9f67-99982c6447a8.json @@ -0,0 +1,11 @@ +{ + "Projects": [ + { + "Name": "Amazon.Lambda.TestTool", + "Type": "Patch", + "ChangelogMessages": [ + "Fix exception method when not setting --api-gateway-emulator-mode" + ] + } + ] +} \ No newline at end of file