Skip to content

Commit 56ac81b

Browse files
authored
fix(server): delete debug code (#1852)
1 parent cb4c1f4 commit 56ac81b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/internal/usecase/interactor/project.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,8 @@ func (i *Project) Update(ctx context.Context, p interfaces.UpdateProjectParam, o
443443
return nil, visualizer.ErrorWithCallerLogging(ctx, "failed to find project", err)
444444
}
445445

446-
log.Debugfc(ctx, "policyChecker: %v", i.policyChecker)
447-
log.Debugfc(ctx, "prj.Workspace(): %v", prj.Workspace())
448-
449446
operationAllowed, err := i.policyChecker.CheckPolicy(ctx, gateway.CreateGeneralOperationAllowedCheckRequest(prj.Workspace()))
450447

451-
log.Debugfc(ctx, "operationAllowed: %v", operationAllowed)
452-
453448
if err != nil {
454449
return nil, visualizer.ErrorWithCallerLogging(ctx, "failed to check policy", err)
455450
}

0 commit comments

Comments
 (0)