Merge pull request #8989 from owncloud/log-and-trace-fixes

log and trace fixes
This commit is contained in:
Jörn Friedrich Dreyer
2024-04-29 17:13:52 +02:00
committed by GitHub
16 changed files with 38 additions and 31 deletions
+3
View File
@@ -88,6 +88,9 @@ func (cache IdentityCache) GetUser(ctx context.Context, userid string) (libregra
var user libregraph.User
if item := cache.users.Get(userid); item == nil {
gatewayClient, err := cache.gatewaySelector.Next()
if err != nil {
return libregraph.User{}, errorcode.New(errorcode.GeneralException, err.Error())
}
cs3UserID := &cs3User.UserId{
OpaqueId: userid,
}