|  |  | @ -115,9 +115,14 @@ typedef void (^DebugLogUploadFailure)(DebugLogUploader *uploader, NSError *error | 
			
		
	
		
		
			
				
					
					|  |  |  |                     failWithError:OWSErrorWithCodeDescription(OWSErrorCodeDebugLogUploadFailed, @"Invalid response")]; |  |  |  |                     failWithError:OWSErrorWithCodeDescription(OWSErrorCodeDebugLogUploadFailed, @"Invalid response")]; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return; |  |  |  |                 return; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |              | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             // Add a file extension to the upload's key. | 
			
		
	
		
		
			
				
					
					|  |  |  |             NSString *fileExtension = weakSelf.fileUrl.lastPathComponent.pathExtension; |  |  |  |             NSString *fileExtension = weakSelf.fileUrl.lastPathComponent.pathExtension; | 
			
		
	
		
		
			
				
					
					|  |  |  |             uploadKey = [uploadKey stringByAppendingPathExtension:fileExtension]; |  |  |  |             uploadKey = [uploadKey stringByAppendingPathExtension:fileExtension]; | 
			
		
	
		
		
			
				
					
					|  |  |  |             [weakSelf uploadFileWithUploadUrl:uploadUrl fields:fields uploadKey:uploadKey]; |  |  |  |             NSMutableDictionary *updatedFields = [fields mutableCopy]; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             updatedFields[@"key"] = uploadKey; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |              | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             [weakSelf uploadFileWithUploadUrl:uploadUrl fields:updatedFields uploadKey:uploadKey]; | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         failure:^(NSURLSessionDataTask *_Nullable task, NSError *error) { |  |  |  |         failure:^(NSURLSessionDataTask *_Nullable task, NSError *error) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             DDLogError(@"%@ failed: %@", weakSelf.logTag, urlString); |  |  |  |             DDLogError(@"%@ failed: %@", weakSelf.logTag, urlString); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |