Skip to content

Commit

Permalink
Merge branch 'main' into feat/rama-http-core
Browse files Browse the repository at this point in the history
  • Loading branch information
GlenDC committed Nov 8, 2024
2 parents 3967023 + 3660c26 commit f8e7694
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,12 @@ where
.await
.map_err(|err| match address.as_ref() {
Some(address) => OpaqueError::from_std(HttpProxyError::Transport(
OpaqueError::from_display(format!(
"establish connection to proxy {} (protocol: {:?}): {}",
address.authority,
address.protocol,
err.into(),
))
.into_boxed(),
OpaqueError::from_boxed(err.into())
.context(format!(
"establish connection to proxy {} (protocol: {:?})",
address.authority, address.protocol,
))
.into_boxed(),
)),
None => {
OpaqueError::from_boxed(err.into()).context("establish connection target")
Expand Down

0 comments on commit f8e7694

Please sign in to comment.