Remove debug prints from relay command

This commit is contained in:
Tangent 128 2018-04-15 23:43:15 -04:00
parent 8b27dc7d8f
commit 0f3e941031
1 changed files with 2 additions and 2 deletions

View File

@ -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") => {