Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
fix: improve webpack single file build error message
Browse files Browse the repository at this point in the history
  • Loading branch information
arantespp committed Jun 17, 2021
1 parent fcbd15c commit 6d0c968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/deploy/lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const buildLambdaSingleFile = async ({
}

if (stats?.hasErrors()) {
return reject(stats.toJson().errors);
return reject(stats.toString());
}

return resolve();
Expand Down

0 comments on commit 6d0c968

Please sign in to comment.