Skip to content

Commit

Permalink
Update mirrord/cli/src/internal_proxy.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Smolarek <34063647+Razz4780@users.noreply.github.com>
  • Loading branch information
aviramha and Razz4780 committed Sep 30, 2024
1 parent 9daf757 commit 695b7d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mirrord/cli/src/internal_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ pub(crate) async fn proxy(watch: drain::Watch) -> Result<(), InternalProxyError>
.run(first_connection_timeout, consecutive_connection_timeout)
.await
.map_err(InternalProxyError::from)
.inspect_err(|e| {
tracing::error!("internal proxy exiting: {e:?}");
.inspect_err(|error| {
tracing::error!(%error, "Internal proxy encountered an error, exiting");
})
}

Expand Down

0 comments on commit 695b7d5

Please sign in to comment.