somewhat working

Was missing a Querier on the context passed to Evaluate(). Add some
additional debug logging.
This commit is contained in:
Kenneth Jenkins 2025-02-25 14:56:27 -08:00
parent e69ccaae68
commit e45f11d281
2 changed files with 21 additions and 3 deletions

View file

@ -186,7 +186,11 @@ func (s *Store) GetDataBrokerRecord(ctx context.Context, recordType, recordIDOrI
res, err := storage.GetQuerier(ctx).Query(ctx, req, grpc.WaitForReady(true))
if err != nil {
log.Ctx(ctx).Error().Err(err).Msg("authorize/store: error retrieving record")
log.Ctx(ctx).Error().
Str("record-type", recordType).
Str("record-id-or-index", recordIDOrIndex).
Err(err).
Msg("authorize/store: error retrieving record")
return nil
}