Skip to content

Commit

Permalink
Merge pull request #292 from microsoft/saulparedes/add_back_rego_erro…
Browse files Browse the repository at this point in the history
…r_logs

agent: add back rego error logs
  • Loading branch information
Redent0r authored Jan 14, 2025
2 parents a96690c + c2f84a6 commit 6e3fd0a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/agent/src/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,6 @@ impl AgentPolicy {
}
};

let prints = match self.engine.take_prints() {
Ok(p) => p.join(" "),
Err(e) => format!("Failed to get policy log: {e}"),
};

if !allow {
self.log_request(ep, &prints).await;
if self.allow_failures {
Expand Down

0 comments on commit 6e3fd0a

Please sign in to comment.