Skip to content

Commit

Permalink
fix(resultForVideo): expection reason
Browse files Browse the repository at this point in the history
  • Loading branch information
guimarca committed Apr 12, 2020
1 parent 6dce381 commit 73abf9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ios/CDVCamera.m
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,8 @@ - (CDVPluginResult*)resultForVideo:(NSDictionary*)info
NSString* moviePath = [[info objectForKey:UIImagePickerControllerMediaURL] absoluteString];
return [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:moviePath];
} @catch (NSException *exception) {
NSLog(@"Camera.resultForVideo: error retrieving file path. Original exception: %@: %@", exception.name, exception.reason);
return CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:[@"%@: %@", exception.name, exception.reason];
NSLog(@"Camera.resultForVideo: error retrieving file path");
return [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:messageAsString:[exception reason]];
}
}

Expand Down

0 comments on commit 73abf9e

Please sign in to comment.