Skip to content

Commit 26b9414

Browse files
committed
Print full bundlephobia error
1 parent 2c5b371 commit 26b9414

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ const rollpkg = async () => {
229229
message: `Bundlephobia Error: ${
230230
errorAsObjectWithMessage(error).message
231231
}`,
232+
fullError: error,
232233
});
233234
// don' throw EXIT_ON_ERROR because the build has already succeeded
234235
// and an error in stats calculation shouldn't cause `rollpkg build` to fail

0 commit comments

Comments
 (0)