Skip to content

Commit

Permalink
silence the keepawake error by default
Browse files Browse the repository at this point in the history
  • Loading branch information
chadaustin committed Dec 23, 2024
1 parent 556c2e3 commit 777976c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ sha2 = "0.10.8"
static_assertions = "1.1.0"
thiserror = "2.0.0"
tokio = { version = "1.38", features = ["fs", "io-util", "macros", "rt-multi-thread", "sync"] }
tracing = "0.1.41"
turbojpeg = { version = "1.1.1", features = ["image"] }
walkdir = "2.5.0"
wild = "2.2.1"
Expand Down
3 changes: 2 additions & 1 deletion src/cmd/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use photohash::Database;
use serde::ser::SerializeSeq;
use serde::Serialize;
use serde::Serializer;
use tracing::trace;
use std::path::Path;
use std::path::PathBuf;
use std::sync::Arc;
Expand Down Expand Up @@ -158,7 +159,7 @@ impl Index {
{
Ok(awake) => Some(awake),
Err(e) => {
eprintln!("WARNING: keepawake failed, ignoring: {}", e);
trace!("WARNING: keepawake failed, ignoring: {}", e);
None
}
};
Expand Down

0 comments on commit 777976c

Please sign in to comment.