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;