diff --git a/eth/watchers/pricefeedwatcher.go b/eth/watchers/pricefeedwatcher.go index 1bab9dc130..8e719a36f5 100644 --- a/eth/watchers/pricefeedwatcher.go +++ b/eth/watchers/pricefeedwatcher.go @@ -112,6 +112,7 @@ func (w *priceFeedWatcher) updatePrice() (eth.PriceData, error) { w.mu.Lock() w.current = newPrice w.mu.Unlock() + clog.Infof(context.Background(), "PriceFeedWatcher updated: price=%v updatedAt=%v roundID=%d", newPrice.Price.FloatString(6), newPrice.UpdatedAt, newPrice.RoundID) w.priceEventFeed.Send(newPrice) } @@ -218,6 +219,7 @@ func newTruncatedTicker(ctx context.Context, d time.Duration) <-chan time.Time { nextTick = nextTick.Add(d) untilNextTick := nextTick.Sub(time.Now().UTC()) if untilNextTick <= 0 { + clog.Warningf(ctx, "Missed tick, untilNextTick <= 0, nextTick=%s", nextTick) continue }