GitHub user Hanks10100 opened a pull request:

    https://github.com/apache/incubator-weex/pull/1373

    [jsfm] add try catch for callback function and event handler

    In practice, most js error happens in the js bundle code, which could be a 
callback function or event handler of js framework. Add try catch on them could 
make js framework more stable and reduce js crashes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-safe-event

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/1373.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1373
    
----
commit 421991e9151df9ece864dcebe067e567f7ff5f53
Author: Hanks <zhanghan.me@...>
Date:   2018-07-25T02:40:29Z

    [jsfm] add try catch for callback function and event handler

----


---

Reply via email to