Skip to content

Commit

Permalink
Issue #90
Browse files Browse the repository at this point in the history
  • Loading branch information
dsietz committed Nov 14, 2021
1 parent 93550df commit 012057d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,10 +501,12 @@ pub trait Engine {
for result in results {
match profile.apply_facts(result.0, result.1) {
Ok(_) => {}
Err(e) => return Err(format!(
Err(e) => {
return Err(format!(
"Error: Couldn't apply the Pattern and Facts to the Profile. Error Message: {}",
e.to_string()
)),
))
}
}
}

Expand Down

0 comments on commit 012057d

Please sign in to comment.