mirror of
				https://github.com/rest-client/rest-client.git
				synced 2022-11-09 13:49:40 -05:00 
			
		
		
		
	Avoid NoMethodError on SSLCertificateNotVerified.
This commit is contained in:
		
							parent
							
								
									b59e2e5b3c
								
							
						
					
					
						commit
						a95da365bb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -50,7 +50,7 @@ if @verb
 | 
			
		|||
    end
 | 
			
		||||
    exit 0
 | 
			
		||||
  rescue RestClient::Exception => e
 | 
			
		||||
    puts e.response.body if e.respond_to? :response
 | 
			
		||||
    puts e.response.body if e.respond_to?(:response) && e.response
 | 
			
		||||
    raise
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue