diff --git a/CHANGELOG.md b/CHANGELOG.md index 1873663..352a54c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file. - Try to improve performance by calling `madvise` to inform Kernel we are reading sequentially ([#24]) - Expose metric on denied connection counts ([#26]) +- Print nicer error messages ([#XX]) ### Changed diff --git a/breakwater/src/main.rs b/breakwater/src/main.rs index 9ef19a0..5402c11 100644 --- a/breakwater/src/main.rs +++ b/breakwater/src/main.rs @@ -78,6 +78,7 @@ pub enum Error { } #[tokio::main] +#[snafu::report] async fn main() -> Result<(), Error> { if env::var("RUST_LOG").is_err() { env::set_var("RUST_LOG", "info")