Fix a bug where HTTP errors where being reported incorrectly (#18828)

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
Mikayla Maki 2024-10-07 12:03:02 -07:00 committed by GitHub
parent 7d380e9e18
commit 8cdb9d6b85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 50 additions and 2 deletions

View file

@ -1533,4 +1533,8 @@ impl HttpClient for NullHttpClient {
fn proxy(&self) -> Option<&http_client::Uri> {
None
}
fn type_name(&self) -> &'static str {
type_name::<Self>()
}
}