fix: map decrypted CoinGlass liq heatmap payload
Some checks failed
ci / build + vet + guard + race (push) Has been cancelled
Some checks failed
ci / build + vet + guard + race (push) Has been cancelled
This commit is contained in:
@@ -81,6 +81,10 @@ func (c *CoinglassCollector) CollectLiqHeatMap(ctx context.Context) error {
|
||||
|
||||
item, err := c.d.Provider.GetLiqHeatMap(ctx, symbol, c.d.LiqHeatMapInterval, c.d.LiqHeatMapLimit)
|
||||
if err != nil {
|
||||
if errors.Is(err, cgapi.ErrAPIBusiness) {
|
||||
c.d.Logger.Warn("coinglass_liq_heatmap_business_error", "symbol", symbol, "err", err)
|
||||
continue
|
||||
}
|
||||
hadError = true
|
||||
c.recordLiqHeatMapError(symbol, err)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user