Skip to content

Commit

Permalink
fix: logs: add padding when error on topic msg
Browse files Browse the repository at this point in the history
  • Loading branch information
cortze committed Mar 30, 2023
1 parent 27f23c3 commit 9503842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gossipsub/topic_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *TopicSubscription) MessageReadingLoop(selfId peer.ID, dbClient database
// use the msg handler for that specific topic that we have
content, err := c.handlerFn(msg)
if err != nil {
log.Error(errors.Wrap(err, "unable to unwrap message on topic"+c.sub.Topic()))
log.Error(errors.Wrap(err, "unable to unwrap message on topic " + c.sub.Topic()))
continue
}
if !content.IsZero() && c.persistMsgs {
Expand Down

0 comments on commit 9503842

Please sign in to comment.