Skip to content

Commit

Permalink
updated formatting (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
hickeydh-aws authored Oct 26, 2023
1 parent d940dfa commit 156e433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deployments/cdk/promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export async function fulfillAll<T>(promises: Promise<T>[]): Promise<T[]> {
const promiseResults = await Promise.allSettled(promises);
const rejectedResults = promiseResults.filter(promiseIsRejected);
if (rejectedResults.length > 0) {
const reasons = rejectedResults.map(r => `${r.reason}`);
const reasons = rejectedResults.map(r => `${r.reason}\n${r.reason.stack}`);
throw new Error(reasons.join('\n'));
}
const fulfilledResults = promiseResults.filter(promiseIsFulfilled);
Expand Down

0 comments on commit 156e433

Please sign in to comment.