mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +00:00
engine: treat InvalidValueError
same as NotSupported
This commit is contained in:
parent
44fff2e273
commit
ded671296a
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ where
|
|||
match apply_fn() {
|
||||
Ok(_) => Ok(()),
|
||||
Err(e) => {
|
||||
if matches!(e, ControlError::NotSupported(_)) {
|
||||
if matches!(e, ControlError::NotSupported(_))
|
||||
|| matches!(e, ControlError::InvalidValueError(_))
|
||||
{
|
||||
warn!(
|
||||
"{feature_name} setting is not supported on this system. Skipping {feature_name} configuration."
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue