From e760f95dc843cf11367d1aea0ed832991964584a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 3 Dec 2015 00:23:09 -0500 Subject: rebuild project --- StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m') diff --git a/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m b/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m index 9407e0a8..be7eb63a 100644 --- a/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m +++ b/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m @@ -143,7 +143,7 @@ - (void)evalJs:(NSString*)js scheduledOnRunLoop:(BOOL)scheduledOnRunLoop { - js = [NSString stringWithFormat:@"cordova.require('cordova/exec').nativeEvalAndFetch(function(){%@})", js]; + js = [NSString stringWithFormat:@"try{cordova.require('cordova/exec').nativeEvalAndFetch(function(){%@})}catch(e){console.log('exeption nativeEvalAndFetch : '+e);};", js]; if (scheduledOnRunLoop) { [self evalJsHelper:js]; } else { -- cgit v1.2.3-70-g09d2