Skip to content

Commit

Permalink
review nit
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Aug 4, 2023
1 parent ee3e01f commit 2784f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dropshot/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ async fn http_request_handle_wrap<C: ServerContext>(

// TODO-debug: add request and response headers here
info!(request_log, "request completed";
"response_code" => r.status().as_str().to_string(),
"response_code" => r.status().as_str(),
"latency_us" => latency_us,
"error_message_internal" => message_internal,
"error_message_external" => message_external,
Expand All @@ -851,7 +851,7 @@ async fn http_request_handle_wrap<C: ServerContext>(
Ok(response) => {
// TODO-debug: add request and response headers here
info!(request_log, "request completed";
"response_code" => response.status().as_str().to_string(),
"response_code" => response.status().as_str(),
"latency_us" => latency_us,
);

Expand Down

0 comments on commit 2784f56

Please sign in to comment.