Include requested URL into the message on network errors (#4945)
This commit is contained in:
		
							parent
							
								
									579a7c2654
								
							
						
					
					
						commit
						f7ae3f39f6
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -31,6 +31,8 @@ class Request | |||
| 
 | ||||
|   def perform | ||||
|     http_client.headers(headers).public_send(@verb, @url.to_s, @options) | ||||
|   rescue => e | ||||
|     raise e.class, "#{e.message} on #{@url}" | ||||
|   end | ||||
| 
 | ||||
|   def headers | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue