mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
somewhat working
Was missing a Querier on the context passed to Evaluate(). Add some additional debug logging.
This commit is contained in:
parent
e69ccaae68
commit
e45f11d281
2 changed files with 21 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue