cargo fmt
This commit is contained in:
parent
7b3a607b5e
commit
b754182e0d
@ -84,7 +84,10 @@ pub enum DataError {
|
|||||||
FeedRedirect(Source),
|
FeedRedirect(Source),
|
||||||
#[fail(display = "Feed is up to date")]
|
#[fail(display = "Feed is up to date")]
|
||||||
FeedNotModified(Source),
|
FeedNotModified(Source),
|
||||||
#[fail(display = "Error occurred while Parsing an Episode. Reason: {}", reason)]
|
#[fail(
|
||||||
|
display = "Error occurred while Parsing an Episode. Reason: {}",
|
||||||
|
reason
|
||||||
|
)]
|
||||||
ParseEpisodeError { reason: String, parent_id: i32 },
|
ParseEpisodeError { reason: String, parent_id: i32 },
|
||||||
#[fail(display = "Episode was not changed and thus skipped.")]
|
#[fail(display = "Episode was not changed and thus skipped.")]
|
||||||
EpisodeNotChanged,
|
EpisodeNotChanged,
|
||||||
|
|||||||
@ -216,7 +216,10 @@ impl Source {
|
|||||||
self = self.save()?;
|
self = self.save()?;
|
||||||
|
|
||||||
debug!("Updated Source: {:#?}", &self);
|
debug!("Updated Source: {:#?}", &self);
|
||||||
info!("Feed url of Source {}, was updated successfully.", self.id());
|
info!(
|
||||||
|
"Feed url of Source {}, was updated successfully.",
|
||||||
|
self.id()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(self)
|
Ok(self)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user