forked from software-mansion/react-native-reanimated
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run plugin inside a try-catch block (software-mansion#4957)
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please follow the template so that the reviewers can easily understand what the code changes affect. --> ## Summary Currently when Reanimated Babel plugin fails to transpile a file, regardless of the reason, we don't have any indication that it failed - we just get some generic error from e.g. metro bundler transpilation process. With this PR now we will get additional `[Reanimated] Babel plugin exception` substring in the error, allowing us to narrow down the issue. Inspired by software-mansion#4943 ## Test plan Added two simple tests for it.
- Loading branch information
Showing
9 changed files
with
406 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.