change error level for trashing items interaction with search

Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
Christian Richter
2026-06-15 09:46:59 +02:00
committed by Christian Richter
parent 76a14b550f
commit faf3ff1959

View File

@@ -535,7 +535,7 @@ func (s *Service) IndexSpace(spaceID *provider.StorageSpaceId, forceRescan bool)
// TrashItem marks the item as deleted.
func (s *Service) TrashItem(rID *provider.ResourceId) {
if err := s.engine.Delete(storagespace.FormatResourceID(rID)); err != nil {
s.logger.Error().Err(err).Interface("Id", rID).Msg("failed to remove item from index")
s.logger.Info().Err(err).Interface("Id", rID).Msg("failed to remove item from index")
}
}