Skip to content

Commit 2ba6b2e

Browse files
committed
samCliLocalInvoke.ts: show error message
1 parent 1628575 commit 2ba6b2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
"AWS.samcli.error.notFound.brief": "Failed to get SAM CLI location",
317317
"AWS.samcli.error.invalid_schema_support_version": "Installed SAM executable does not support templates that require Event Schema selection. Required minimum version {0}, but found {1}",
318318
"AWS.samcli.local.invoke.ended": "Local invoke of SAM Application has ended.",
319-
"AWS.samcli.local.invoke.error": "Error encountered running local SAM Application",
319+
"AWS.samcli.local.invoke.error": "Error running local SAM Application: {0}",
320320
"AWS.samcli.local.invoke.port.not.open": "The debug port doesn't appear to be open. The debugger might not succeed when attaching to your SAM Application.",
321321
"AWS.samcli.local.invoke.runtime.unsupported": "Unsupported {0} runtime: {1}",
322322
"AWS.samcli.local.invoke.debugger.install": "Installing .NET Core Debugger to {0}...",

src/shared/sam/cli/samCliLocalInvoke.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class DefaultSamLocalInvokeCommand implements SamLocalInvokeCommand {
9696
onError: (error: Error): void => {
9797
this.channelLogger.error(
9898
'AWS.samcli.local.invoke.error',
99-
'Error encountered running local SAM Application',
99+
'Error running local SAM Application: {0}',
100100
error
101101
)
102102
debuggerPromiseClosed = true

0 commit comments

Comments
 (0)