Skip to content

Commit

Permalink
Update error msg on a missing fact
Browse files Browse the repository at this point in the history
:-)
  • Loading branch information
isbm committed Oct 30, 2024
1 parent 294bdf0 commit babe2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsysinspect/src/intp/actproc/modfinder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ impl ModCall {
return (
Some(false),
Some(format!(
"{} {}{}",
"{} fact {}{}",
&exp.get_fact_namespace(),
if fact.is_empty() { "is missing" } else { "fails as " },
if fact.is_empty() { "data was not found" } else { "fails as " },
fact
)),
);
Expand Down

0 comments on commit babe2f1

Please sign in to comment.