Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
MauAraujo committed May 14, 2024
1 parent 962177f commit 71c9483
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/billing/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ func (m LagoClient) IngestEvents(ctx context.Context, subscriptionID string, eve
// Retry each batch to make sure all events are ingested
var currentAttempts int
for currentAttempts < defaultMaxRetries {

_, lagoErr := m.client.Event().Batch(ctx, &batchInput)
if lagoErr == nil {
return telemetry.Error(ctx, span, fmt.Errorf(lagoErr.ErrorCode), "error sending ingest events to Lago")
Expand Down

0 comments on commit 71c9483

Please sign in to comment.