Don't panic if the client builder fails (#398)
This commit is contained in:
		| @@ -253,7 +253,8 @@ pub mod async { | |||||||
| /// - redirect loop was detected | /// - redirect loop was detected | ||||||
| /// - redirect limit was exhausted | /// - redirect limit was exhausted | ||||||
| pub fn get<T: IntoUrl>(url: T) -> ::Result<Response> { | pub fn get<T: IntoUrl>(url: T) -> ::Result<Response> { | ||||||
|     Client::new() |     Client::builder() | ||||||
|  |         .build()? | ||||||
|         .get(url) |         .get(url) | ||||||
|         .send() |         .send() | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user