From ddab261d00ebeb281b598c5b60cdb8f1888e5b03 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Mon, 9 Mar 2020 11:07:13 +0800 Subject: [PATCH] iOS:dont throw exception while debuging --- doric-iOS/Devkit/Classes/DoricDebugDriver.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doric-iOS/Devkit/Classes/DoricDebugDriver.m b/doric-iOS/Devkit/Classes/DoricDebugDriver.m index b43c17c9..405ba184 100644 --- a/doric-iOS/Devkit/Classes/DoricDebugDriver.m +++ b/doric-iOS/Devkit/Classes/DoricDebugDriver.m @@ -100,7 +100,6 @@ - (DoricAsyncResult *)invokeContextEntity:(NSString *)contextId method:(NSString [ret setupResult:jsValue]; } @catch (NSException *exception) { [ret setupError:exception]; - [self.jsExecutor.registry onException:exception inContext:[[DoricContextManager instance] getContext:contextId]]; } }); return ret; @@ -123,7 +122,6 @@ - (DoricAsyncResult *)invokeContextEntity:(NSString *)contextId method:(NSString [ret setupResult:jsValue]; } @catch (NSException *exception) { [ret setupError:exception]; - [self.jsExecutor.registry onException:exception inContext:[[DoricContextManager instance] getContext:contextId]]; } }); return ret; @@ -140,7 +138,6 @@ - (DoricAsyncResult *)createContext:(NSString *)contextId script:(NSString *)scr [ret setupResult:@YES]; } @catch (NSException *exception) { [ret setupError:exception]; - [self.jsExecutor.registry onException:exception inContext:[[DoricContextManager instance] getContext:contextId]]; } }); return ret; @@ -157,7 +154,6 @@ - (DoricAsyncResult *)destroyContext:(NSString *)contextId { [ret setupResult:@YES]; } @catch (NSException *exception) { [ret setupError:exception]; - [self.jsExecutor.registry onException:exception inContext:[[DoricContextManager instance] getContext:contextId]]; } }); return ret;