change logger level

Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
Christian Richter
2026-05-20 14:14:00 +02:00
committed by Christian Richter
parent 0a0be61d82
commit 0351adfe6b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1137,7 +1137,7 @@ func (i *LDAP) expandLDAPAttributeEntries(ctx context.Context, e *ldap.Entry, at
ue, err := i.getUserByDN(entryDN, searchTerm) ue, err := i.getUserByDN(entryDN, searchTerm)
if err != nil { if err != nil {
// Ignore errors when reading a specific entry fails, just log them and continue // Ignore errors when reading a specific entry fails, just log them and continue
logger.Debug().Err(err).Str("entry", entryDN).Msg("error reading attribute member entry") logger.Error().Err(err).Str("entry", entryDN).Msg("error reading attribute member entry")
continue continue
} }
result = append(result, ue) result = append(result, ue)
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"strings" "strings"
"github.com/CiscoM31/godata" "github.com/CiscoM31/godata"
"github.com/opencloud-eu/opencloud/services/graph/pkg/errorcode"
libregraph "github.com/opencloud-eu/libre-graph-api-go" libregraph "github.com/opencloud-eu/libre-graph-api-go"
"github.com/opencloud-eu/opencloud/services/graph/pkg/errorcode"
"github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5"
"github.com/go-chi/render" "github.com/go-chi/render"
@@ -250,7 +250,7 @@ func (g Graph) GetGroup(w http.ResponseWriter, r *http.Request) {
Msg("calling get group on backend") Msg("calling get group on backend")
group, err := g.identityBackend.GetGroup(r.Context(), groupID, r.URL.Query()) group, err := g.identityBackend.GetGroup(r.Context(), groupID, r.URL.Query())
if err != nil { if err != nil {
logger.Debug().Err(err).Msg("could not get group: backend error") logger.Error().Err(err).Msg("could not get group: backend error")
errorcode.RenderError(w, r, err) errorcode.RenderError(w, r, err)
return return
} }