We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dce381 commit 9b66430Copy full SHA for 9b66430
src/ios/CDVCamera.m
@@ -516,8 +516,8 @@ - (CDVPluginResult*)resultForVideo:(NSDictionary*)info
516
NSString* moviePath = [[info objectForKey:UIImagePickerControllerMediaURL] absoluteString];
517
return [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:moviePath];
518
} @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];
+ NSLog(@"Camera.resultForVideo: error retrieving file path");
+ return [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:[exception reason]];
521
}
522
523
0 commit comments