get rid of unreachable code
Cargo Check, Format, Fix and Test / cargo CI (push) Successful in 2m10s Details

This commit is contained in:
Christoph J. Scherr 2024-01-16 15:45:12 +01:00
parent aa560b0e05
commit 5b8753c45d
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 1 additions and 2 deletions

View File

@ -126,8 +126,7 @@ fn cli_parse() -> Cli {
"WARN" => Level::WARN,
"ERROR" => Level::ERROR,
_ => {
eprintln!("'{}' is not a valid loglevel", cli.verbose.to_string());
std::process::exit(1);
unreachable!();
}
};
if cli.log_meta {