Add logging again..

This commit is contained in:
Till Faelligen 2022-08-03 14:08:22 +02:00
parent f62e99e6f3
commit 2a4e3b6885
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E

View file

@ -233,6 +233,7 @@ func filterSharedUsers(
}
sharedUsers, err := db.SharedUsers(ctx, userID, usersWithChangedKeys)
if err != nil {
util.GetLogger(ctx).WithError(err).Errorf("db.SharedUsers failed: %s", err)
// default to all users so we do needless queries rather than miss some important device update
return nil, usersWithChangedKeys
}