Skip to content

Commit

Permalink
Prevent crashing app by catching errors (#1286)
Browse files Browse the repository at this point in the history
* Convert all @ReactMethod in try-catch block

* Fix Exception type

* Replaced e.printStackTrace() with CodePushUtils.log(e)

* Combined catches with the same handler.
  • Loading branch information
alexandergoncharov-zz authored May 24, 2018
1 parent e0bc8b0 commit 4aa735c
Showing 1 changed file with 218 additions and 166 deletions.
Loading

0 comments on commit 4aa735c

Please sign in to comment.