replaced unwrap with expect

This commit is contained in:
debris 2016-12-01 10:46:03 +01:00
parent d7daed26cf
commit 066b59a304
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ fn run() -> Result<(), String> {
logs::init(LOG_INFO, logs::DateAndColorLogFormatter); logs::init(LOG_INFO, logs::DateAndColorLogFormatter);
} }
} else { } else {
env_logger::init().unwrap(); env_logger::init().expect("Logger can be initialized only once");
} }
match matches.subcommand() { match matches.subcommand() {