aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorNathan Jaremko2017-07-25 00:35:02 -0400
committerNathan Jaremko2017-07-25 00:35:02 -0400
commit7c40d1d07eb32e7e7fe923241b38ed7057338dc1 (patch)
tree68ef9fc79a6f37f265195f1865eaf8299f6d15d8 /src/main.rs
parent404c468a4c51b07c27e92ccd952f647db11a6369 (diff)
downloadpodcast-7c40d1d07eb32e7e7fe923241b38ed7057338dc1.tar.bz2
Cleanup
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 800c867..338c7b2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,7 +19,9 @@ use clap::{Arg, App, SubCommand};
use structs::*;
fn main() {
- let mut state = State::new();
+ let mut state = State::new().expect(
+ ".subscription file couldn't be parsed...I probably changed the format...sorry",
+ );
let config = Config::new();
let matches = App::new("podcast")
.version("1.0")