diff --git a/coderd/coderd.go b/coderd/coderd.go index 8ff8c05ee75b2..2b62d96b56459 100644 --- a/coderd/coderd.go +++ b/coderd/coderd.go @@ -1304,7 +1304,7 @@ func New(options *Options) *API { func(next http.Handler) http.Handler { return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { if !api.Authorize(r, policy.ActionRead, rbac.ResourceDebugInfo) { - httpapi.ResourceNotFound(rw) + httpapi.Forbidden(rw) return }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: