You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to log the
remote_addr
when request fails.I'm thinking the following two ways, but cannot figure it out:
reqwest::Error
tohyper::Error
, and inspect client_connect_info.It turns out the
TimedOut
error is early turned byreqwest
, not byhyper
:(hyper::Request
is not accessible fromreqwest
.I think it's too much cost to use hyper's client instead of reqwest for much feature.
Any suggestion? I'm glad to contribute a PR if needed.
Beta Was this translation helpful? Give feedback.
All reactions