Skip to content

Commit

Permalink
Print full struct
Browse files Browse the repository at this point in the history
  • Loading branch information
janderson-seg committed Dec 8, 2023
1 parent 41e9475 commit a6228d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/event/iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (i *Iterator) Next(ctx context.Context) (event Event, err error) {
i.previous = &event
if previous != nil {
if previous.Sequence != event.Sequence-1 {
events.Log("out of sync sequences (cur-1 should equal prev), prev: %d cur: %d", previous.Sequence, event.Sequence)
events.Log("out of sync sequences (cur.seq-1 should equal prev.seq), prev:\n%+v\ncur:\n%+v\n", previous, event)
// we have an out of order changelog
return event, ErrOutOfSync
}
Expand Down

0 comments on commit a6228d1

Please sign in to comment.