Skip to content

Commit

Permalink
Remove a debugging eprintln
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottt committed Nov 12, 2023
1 parent 8b523e7 commit 8a74e72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/wasi-http/src/http_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ impl<T: WasiHttpView> outgoing_handler::Host for T {
uri = uri.path_and_query(path);
}

builder = builder.uri(uri.build().map_err(|e| {
eprintln!("uri build error: {e:#?}");
types::ErrorCode::HttpRequestUriInvalid
})?);
builder = builder.uri(
uri.build()
.map_err(|_| types::ErrorCode::HttpRequestUriInvalid)?,
);

for (k, v) in req.headers.iter() {
builder = builder.header(k, v);
Expand Down

0 comments on commit 8a74e72

Please sign in to comment.