diff --git a/packages/aws-cdk/lib/api/cxapp/exec.ts b/packages/aws-cdk/lib/api/cxapp/exec.ts index 757e03653d0e0..4069d7a660143 100644 --- a/packages/aws-cdk/lib/api/cxapp/exec.ts +++ b/packages/aws-cdk/lib/api/cxapp/exec.ts @@ -118,6 +118,7 @@ export async function execProgram(aws: SdkProvider, config: Configuration): Prom if (code === 0) { return ok(); } else { + debug('failed command:', commandAndArgs); return fail(new Error(`Subprocess exited with error ${code}`)); } });