forked from katzen-cafe/iowo
app: better? config error handling
This commit is contained in:
parent
7c9dca0ae2
commit
6006f92d9c
2 changed files with 30 additions and 11 deletions
|
@ -9,7 +9,7 @@ mod welcome_msg;
|
|||
|
||||
fn main() {
|
||||
// TODO: proper error handling
|
||||
let cfg = Config::read().unwrap();
|
||||
let cfg = Config::read();
|
||||
|
||||
if cfg.startup_msg {
|
||||
print_startup_msg();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue