You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/04/01 07:14:42 UTC

[GitHub] [incubator-weex-site] SwordKnight commented on issue #370: 异常的捕捉,应该单独拎出来

SwordKnight commented on issue #370: 异常的捕捉,应该单独拎出来
URL: https://github.com/apache/incubator-weex-site/issues/370#issuecomment-478463235
 
 
   IWXJSExceptionAdapter
   WEEX的异常上报接口,包括
   
   下载异常
   白屏异常
   js异常
   降级异常
   public interface IWXJSExceptionAdapter {
     void onJSException(WXJSExceptionInfo exception);
   }
   使用方式:
   
   WXSDKEngine.setJSExcetptionAdapter(new TestExceptionAdapter());
   
   
   现在放在这里有点偏僻,很难看到

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services