     
     // MARK: Alerts
     
-    private func presentRefreshErrorAlert(_ error: NSError)
+    private func presentRefreshErrorAlert(with error: NSError)
     {
         let alert = UIAlertController(title: "Refresh Error", message: error.localizedDescription, preferredStyle: UIAlertControllerStyle.alert)
         alert.addAction(UIAlertAction(title: "Ok", style: UIAlertActionStyle.default, handler: nil))

    {
        let videoUri = descriptor.uploadTicket.video!.uri!

        self.retryUploadDescriptor(descriptor, completion: { [weak self] (error) in
         
            guard let strongSelf = self else
            {

    
    // MARK: Private API
    
    private func retry(uploadDescriptor descriptor: UploadDescriptor, completion: ErrorBlock)
    {
        // TODO: This should be cancellable

