Skip to content

Commit

Permalink
"Verbose error output"
Browse files Browse the repository at this point in the history
  • Loading branch information
Stridsvagn69420 committed Dec 4, 2022
1 parent b79cfa3 commit 036e323
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bin/cyrkensia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ async fn server(cfg: Config) -> io::Result<()> {
let unbound_server = HttpServer::new(move || {
// Initialize state
let Ok(state) = CyrkensiaState::new(cfg.clone()) else {
eprintln!("Cyrkensia failed trying to initialize!");
let red: &str = Colors::RedBright.as_ref();
eprintln!("{red}{}\x1b[0m", timelog!("Cyrkensia failed trying to initialize!"));
eprintln!("See {WIKI_HELP_URL} for more.");
exit(1);
};

Expand Down

0 comments on commit 036e323

Please sign in to comment.