repack
repack copied to clipboard
fix: log errors before exit
Summary
To clarify what are errors exactly, we need to log them before exist.
Test plan
🦋 Changeset detected
Latest commit: 9d1e0e6a30bfd6218ea740f7037f6f1ec2362bbe
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
| Name | Type |
|---|---|
| @callstack/repack | Patch |
| testerapp | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Hi @hosseinmd, thanks for your contribution!
Can you showcase an example of how this improves error reporting when bundling? Before and after would be ideal, thanks!
Before adding this I didn't have any idea what is error this is my logs
after adding this
Now it is clear what is the exact error and where it is happened
This pull request has been marked as stale because it has been inactive for 60 days. Please update this pull request or it will be automatically closed in 14 days.
@hosseinmd thank you for your contribution! 🚀