[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

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

Merged
merged 1 commit into from
Jul 25, 2018

Conversation

Hanks10100
Copy link
Contributor

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.

@weex-bot
Copy link
weex-bot commented Jul 25, 2018
Messages
📖 No android file has been changed.
📖 android build verification finished.

Generated by 🚫 dangerJS

@asfgit asfgit merged commit cb22b8a into apache:master Jul 25, 2018
wqyfavor pushed a commit to lucky-chen/incubator-weex that referenced this pull request Jul 27, 2018
* apache/master:
  [WEEX-542][Android] rm useless code
  [WEEX-535][iOS] add extMsg when reproteror for windmill
  * [iOS] parser type by reg
  [WEEX-541][iOS]Vertical Pan may not trigger 'start' event on some devices.
  [WEEX-495][iOS] Fix class_replaceMethod param error in WXSwizzleInstanceMethod.
  [WEEX-539][Android] report container info when report error or performance
  * [Android] Fix transition createLayoutPropertyValueHolder
  * [android] Use rint on getFloatByViewport.
  * [android] Fix setViewport when debug
  # This is a combination of 2 commits. # This is the 1st commit message:
  [jsfm] add try catch for callback function and event handler (apache#1373)
  [WEEX-538][Android] do not shutdown websocket when debug
  * [Android] Add more log when callNative failed.
  * [Android] Add JS Error Log in GraphicActionAddElement
yxping pushed a commit to yxping/incubator-weex that referenced this pull request Aug 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants