Skip to content

Commit 2146249

Browse files
committed
wip
1 parent d7e3aba commit 2146249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/manage.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ export async function startLocalStack(
108108
outputChannel,
109109
onStderr(data: Buffer, context) {
110110
const text = data.toString();
111+
// Currently, the LocalStack CLI does not return a non-zero exit code if the container fails to start.
112+
// As a workaround, we look for a specific error message in the output to determine if the container failed to start.
111113
if (
112114
text.includes(
113115
"localstack.utils.container_utils.container_client.ContainerException",

0 commit comments

Comments
 (0)