Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
9FS committed Sep 15, 2024
1 parent db29877 commit 47c1981
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ license = "MIT"
name = "nhentai_archivist"
readme = "readme.md"
repository = "https://github.com/9-FS/nhentai_archivist"
version = "3.2.0"
version = "3.2.1"

[dependencies]
chrono = { version = "^0.4.0", features = ["serde"] }
load_config = { git = "https://github.com/9-FS/load_config", tag = "1.1.2", features = [
load_config = { git = "https://github.com/9-FS/load_config", tag = "1.2.0", features = [
"toml_file",
] }
log = "^0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3"
services:
nhentai_archivist:
container_name: "nhentai_archivist"
image: "ghcr.io/9-fs/nhentai_archivist:3.2.0"
image: "ghcr.io/9-fs/nhentai_archivist:3.2.1"
environment:
HOST_OS: "Unraid"
PGID: 100
Expand Down
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ fn main() -> std::process::ExitCode
Err(e) => // loading config failed
{
setup_logging::setup_logging(log::Level::Info, None, "./log/%Y-%m-%d.log"); // setup logging with default settings to log error
log::error!("{e}");
match e
{
load_config::Error::CreatedDefaultFile {..} => log::info!("{e}"), // if default file created successfully: log as info
_ => log::error!("{e}"),
}
return std::process::ExitCode::FAILURE;
}
}
Expand Down

0 comments on commit 47c1981

Please sign in to comment.