File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -516,8 +516,8 @@ - (CDVPluginResult*)resultForVideo:(NSDictionary*)info
516516 NSString * moviePath = [[info objectForKey: UIImagePickerControllerMediaURL] absoluteString ];
517517 return [CDVPluginResult resultWithStatus: CDVCommandStatus_OK messageAsString: moviePath];
518518 } @catch (NSException *exception) {
519- NSLog (@" Camera.resultForVideo: error retrieving file path. Original exception: %@ : %@ " , exception. name , exception. reason );
520- return CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:[ @" %@ : %@ " , exception.name, exception. reason];
519+ NSLog (@" Camera.resultForVideo: error retrieving file path" );
520+ return [ CDVPluginResult resultWithStatus: CDVCommandStatus_ERROR messageAsString:messageAsString: [ exception reason ] ];
521521 }
522522}
523523
You can’t perform that action at this time.
0 commit comments