diff --git a/hptp-recv/src/main.rs b/hptp-recv/src/main.rs index 8a6878d..a3643f7 100644 --- a/hptp-recv/src/main.rs +++ b/hptp-recv/src/main.rs @@ -1,4 +1,4 @@ -#![feature(backtrace)] +// #![feature(backtrace)] extern crate hptp; extern crate tokio; #[macro_use] @@ -19,7 +19,7 @@ enum Error { Io { #[from] source: tokio::io::Error, - backtrace: std::backtrace::Backtrace, + // backtrace: std::backtrace::Backtrace, }, } @@ -31,11 +31,11 @@ fn entry() -> Result<(), Error> { fn main() { if let Err(e) = entry() { - use std::error::Error; + // use std::error::Error; println!("Error: {}", e); - for bt in e.backtrace() { - println!("{}", bt); - } + // for bt in e.backtrace() { + // println!("{}", bt); + // } } } diff --git a/hptp-send/src/main.rs b/hptp-send/src/main.rs index 1483ce5..a43002f 100644 --- a/hptp-send/src/main.rs +++ b/hptp-send/src/main.rs @@ -1,4 +1,4 @@ -#![feature(backtrace)] +// #![feature(backtrace)] extern crate hptp; extern crate tokio; #[macro_use] @@ -23,7 +23,7 @@ enum Error { Io { #[from] source: tokio::io::Error, - backtrace: std::backtrace::Backtrace, + // backtrace: std::backtrace::Backtrace, }, #[error("invalid command-line arguments")] InvalidArgs, @@ -33,11 +33,11 @@ fn main() { match entry() { Err(Error::InvalidArgs) => print_usage(), Err(e) => { - use std::error::Error; + // use std::error::Error; println!("Error: {:?}", e); - for bt in e.backtrace() { - println!("{}", bt); - } + // for bt in e.backtrace() { + // println!("{}", bt); + // } } Ok(()) => (), }