diff --git a/libimagstore/src/hook/error.rs b/libimagstore/src/hook/error.rs index 24740128..a4769af3 100644 --- a/libimagstore/src/hook/error.rs +++ b/libimagstore/src/hook/error.rs @@ -36,7 +36,8 @@ impl Into for (HookErrorKind, Box) { fn hook_error_type_as_str(e: &HookErrorKind) -> &'static str { match e { - _ => "", + &HookErrorKind::HookExecutionError => "Hook exec error", + &HookErrorKind::AccessTypeViolation => "Hook access type violation", } }