aboutsummaryrefslogtreecommitdiffstats
path: root/src/structs.rs
diff options
context:
space:
mode:
authorNathan2017-07-22 18:58:13 -0400
committerNathan2017-07-22 18:58:13 -0400
commitff3f7c04139166b4b3ee5d17889129fbdb5fdff9 (patch)
tree62ad046e6efc3af03e34056b2e16fbc627afb4ac /src/structs.rs
parent5e6206f3a7b6c772ca94c0d6c8f615ba7d6ca8c6 (diff)
downloadpodcast-ff3f7c04139166b4b3ee5d17889129fbdb5fdff9.tar.bz2
Handle possible failure to save
Diffstat (limited to 'src/structs.rs')
-rw-r--r--src/structs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/structs.rs b/src/structs.rs
index 0139394..e0088be 100644
--- a/src/structs.rs
+++ b/src/structs.rs
@@ -60,7 +60,7 @@ impl State {
});
}
if let Err(err) = self.save() {
- println!("{}", err);
+ eprintln!("{}", err);
}
// TODO only download new rss, don't refresh all
update_rss(&self.clone());