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
516
516
NSString * moviePath = [[info objectForKey: UIImagePickerControllerMediaURL] absoluteString ];
517
517
return [CDVPluginResult resultWithStatus: CDVCommandStatus_OK messageAsString: moviePath];
518
518
} @catch (NSException *exception) {
519
- NSLog (@" Camera.resultForVideo: error retrieving file path" );
520
- return [CDVPluginResult resultWithStatus: CDVCommandStatus_ERROR messageAsString: @" " ];
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] ];
521
521
}
522
522
}
523
523
You can’t perform that action at this time.
0 commit comments