We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f06bef commit 6dce381Copy full SHA for 6dce381
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");
520
- return [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@""];
+ NSLog(@"Camera.resultForVideo: error retrieving file path. Original exception: %@: %@", exception.name, exception.reason);
+ return CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:[@"%@: %@", exception.name, exception.reason];
521
}
522
523
0 commit comments