diff --git a/service/utils/authutils.go b/service/utils/authutils.go index c8a33710d..c8bdd6d59 100644 --- a/service/utils/authutils.go +++ b/service/utils/authutils.go @@ -71,7 +71,7 @@ func FilterAccess(username string, authenticated bool, a *token.ResourceActions) if authenticated { isAdmin, err := dao.IsAdminRole(username) if err != nil { - log.Errorf("Error occurred in IsAdminRole: %v") + log.Errorf("Error occurred in IsAdminRole: %v", err) } if isAdmin { exist, err := dao.ProjectExists(projectName)