diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-05-12 15:10:35 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-05-12 15:10:35 +0200 |
commit | 2d6ee1dddda6a51692adff10160bb93a76430b0b (patch) | |
tree | a511c252097e15cb3b6f9ebbd675e14f1e3665a8 /src/main.rs | |
parent | 4755702ef08d70961b5248cb706a592a406d0556 (diff) |
Added new building specifications
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 22f698d..7b3a62c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,6 +28,7 @@ fn main() { let (settings, state) = match json::read_state_from_file(STATE_PATH) { Ok(ok) => ok, Err(error) => { + eprintln!("Error while parsing JSON file: {}", error); process::exit(1); } }; @@ -36,6 +37,7 @@ fn main() { match write_command(COMMAND_PATH, command) { Ok(()) => {} Err(error) => { + eprintln!("Error while writing command file: {}", error); process::exit(1); } } |