Skip to content

Commit

Permalink
fix: include original error via cause
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jul 12, 2024
1 parent cd1c4dd commit 2b8563d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cwp-template-aws/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ const setup = async args => {
console.log(e.message);

throw new Error(
"Failed while installing project dependencies. Please check the above Yarn logs for more information."
"Failed while installing project dependencies. Please check the above Yarn logs for more information.",
{ cause: e }
);
}
}
Expand Down

0 comments on commit 2b8563d

Please sign in to comment.