mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Clean up unwrap()'s. Print out info in asusctl if error
This commit is contained in:
@@ -27,3 +27,9 @@ impl fmt::Display for ProfileError {
|
||||
}
|
||||
|
||||
impl std::error::Error for ProfileError {}
|
||||
|
||||
impl From<std::io::Error> for ProfileError {
|
||||
fn from(err: std::io::Error) -> Self {
|
||||
ProfileError::Io(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user