Skip to content

Commit

Permalink
Log known purple pages errors
Browse files Browse the repository at this point in the history
  • Loading branch information
boreq committed Nov 14, 2023
1 parent b2aeb26 commit f735d3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/adapters/relay_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func (p RelaySource) getRelaysFromPurplePages(ctx context.Context, publicKey dom
if err != nil {
if errors.Is(err, ErrRelayListNotFoundInPurplePages) ||
errors.Is(err, ErrPurplePagesTimeout) {
p.logger.Debug().WithError(err).Message("known error from purple pages")
return previousEntries, nil
}
return nil, errors.Wrap(err, "error querying purple pages")
Expand Down

0 comments on commit f735d3e

Please sign in to comment.