Remove prints

This commit is contained in:
Michael Vines
2019-03-05 13:26:59 -08:00
parent e7eafbd24e
commit 1997640094
3 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@ fn main() -> Result<(), Box<error::Error>> {
info!("Drone started. Listening on: {}", drone_addr);
let done = socket
.incoming()
.map_err(|e| println!("failed to accept socket; error = {:?}", e))
.map_err(|e| warn!("failed to accept socket; error = {:?}", e))
.for_each(move |socket| {
let drone2 = drone.clone();
let framed = BytesCodec::new().framed(socket);