summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-26 14:04:57 -0600
committermo khan <mo@mokhan.ca>2025-06-26 14:04:57 -0600
commit031d4ba92e69966ae91bbebd9ec797e6c115c2f0 (patch)
tree9784443faf035a084ee226f0d96569b59d7a7ad8
parentc006ac2a676c87f8058e52701648eb24d94b480f (diff)
feat: add some debug logging
-rw-r--r--src/authorization/check_service.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authorization/check_service.rs b/src/authorization/check_service.rs
index 6c6bd9c6..a65d8d95 100644
--- a/src/authorization/check_service.rs
+++ b/src/authorization/check_service.rs
@@ -24,7 +24,7 @@ impl envoy_types::ext_authz::v3::pb::Authorization for CheckService {
) -> Result<Response<CheckResponse>, Status> {
let request = request.into_inner();
- if self.authorizer.authorize(request) {
+ if dbg!(self.authorizer.authorize(dbg!(request))) {
Ok(Response::new(CheckResponse::with_status(Status::ok("OK"))))
} else {
Ok(Response::new(CheckResponse::with_status(