Skip to content

Commit 91ae148

Browse files
authored
fix: downgrade announce failure message to warning (#53)
This is not an error - it is not returned as one. It is a warning.
1 parent 0207a50 commit 91ae148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipnipublisher/publisher/publisher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ func (p *IPNIPublisher) publish(ctx context.Context, adv schema.Advertisement) (
220220
if p.sender != nil {
221221
err = announce.Send(ctx, lnk.(cidlink.Link).Cid, p.pubHTTPAnnounceAddrs, p.sender)
222222
if err != nil {
223-
log.Errorw("Failed to announce advertisement", "err", err)
223+
log.Warnw("Failed to announce advertisement", "err", err)
224224
}
225225
}
226226
return lnk, nil

0 commit comments

Comments
 (0)