Skip to content

Commit

Permalink
chore(http): change log to debug for decoder errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Feb 16, 2017
1 parent ebf96f3 commit 7d37197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl<I: Io, T: Http1Transaction, K: KeepAlive> Conn<I, T, K> {
let decoder = match T::decoder(&head) {
Ok(d) => d,
Err(e) => {
error!("decoder error = {:?}", e);
debug!("decoder error = {:?}", e);
self.state.close_read();
return Ok(Async::Ready(Some(Frame::Error { error: e })));
}
Expand Down

0 comments on commit 7d37197

Please sign in to comment.