Remove debug prints from relay command
This commit is contained in:
parent
8b27dc7d8f
commit
0f3e941031
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ impl RelayServer {
|
|||
.into_stream()
|
||||
.map(|_| empty())
|
||||
.map_err(|err| {
|
||||
println!("{}", err);
|
||||
//TODO: log something somewhere
|
||||
to_hyper_error(err)
|
||||
})
|
||||
.flatten()
|
||||
|
@ -87,7 +87,7 @@ impl Service for RelayServer {
|
|||
fn call(&self, request: Request) -> Self::Future {
|
||||
let (method, uri, _http_version, _headers, request_body) = request.deconstruct();
|
||||
|
||||
eprintln!("New {} Request: {}", method, uri.path());
|
||||
//TODO: log equiv to: eprintln!("New {} Request: {}", method, uri.path());
|
||||
|
||||
ok(match (method, uri.path()) {
|
||||
(Head, "/live") => {
|
||||
|
|
Loading…
Reference in a new issue