diff --git a/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js b/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js index e3d05384fe1..582bf49666a 100644 --- a/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js +++ b/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js @@ -42,7 +42,9 @@ describe("Scenario - AutoConfirm", () => { ); const stack = Stacks[0]; if (stack.StackStatus !== "CREATE_COMPLETE") { - throw new Error("Stack creation incomplete."); + throw new Error( + `Stack creation incomplete. STATUS: ${stack.StackStatus}`, + ); } }, );