add mysql support
This commit is contained in:
parent
ac0ac8a10d
commit
966373b8fa
3 changed files with 4 additions and 4 deletions
|
@ -4,10 +4,10 @@ use thiserror::Error;
|
|||
#[derive(Error, Debug)]
|
||||
#[error("opds error")]
|
||||
pub enum Error {
|
||||
/// Error rendering OPDS.
|
||||
/// Database Error
|
||||
#[error("opds error")]
|
||||
DbError(#[from] DbErr),
|
||||
/// Error fetching data from calibre.
|
||||
/// Error fetching data from alertswiss
|
||||
#[error("data error")]
|
||||
FetchError(#[from] reqwest::Error),
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ async fn main() {
|
|||
let config = args.into();
|
||||
|
||||
if let Err(e) = alert_me::run(config).await {
|
||||
error!("Application error: {e}");
|
||||
error!("Application error: {e:?}");
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue