Downgrade intermediate resolver error to trace

main
Max Ignatenko 2024-02-21 09:36:09 +00:00
parent b2003530ba
commit 67a8ab5aff
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func (r *fallbackResolver) GetDocument(ctx context.Context, didstr string) (*did
if d, err := res.GetDocument(ctx, didstr); err == nil { if d, err := res.GetDocument(ctx, didstr); err == nil {
return d, nil return d, nil
} else { } else {
log.Warn().Err(err).Str("plc", res.(*api.PLCServer).Host). log.Trace().Err(err).Str("plc", res.(*api.PLCServer).Host).
Msgf("Failed to resolve %q using %q: %s", didstr, res.(*api.PLCServer).Host, err) Msgf("Failed to resolve %q using %q: %s", didstr, res.(*api.PLCServer).Host, err)
errs = append(errs, err) errs = append(errs, err)
} }