clean up warning message

This commit is contained in:
bunnie 2022-12-02 15:06:00 +08:00
parent f0e1597b5c
commit 6f5d37866c

View file

@ -1139,7 +1139,7 @@ fn wrapped_main() -> ! {
match prefs.autobacklight_timeout() {
Ok(timeout) => timeout,
Err(error) => {
log::error!("cannot fetch autobacklight timeout, {:?}, defaulting to 10s", error);
log::warn!("Autobacklight timeout not set or corrupted, {:?}, defaulting to 10s", error);
10
}
}