diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs index 49ffe5c..28ca543 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,15 +19,12 @@ use crate::config::BackConfig; mod cli; pub mod config; mod error; -pub mod git_bug; mod web; -fn main() -> Result<(), String> { +fn main() { if let Err(err) = server_main() { eprintln!("Error {err}"); process::exit(1); - } else { - Ok(()) } } @@ -37,9 +34,9 @@ async fn server_main() -> Result<(), error::Error> { stderrlog::new() .module(module_path!()) - .modules(["hyper", "http"]) + .modules(["hyper", "http", "git_bug"]) .quiet(false) - .show_module_names(false) + .show_module_names(true) .color(stderrlog::ColorChoice::Auto) .verbosity(2) .timestamp(stderrlog::Timestamp::Off) |