Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shal committed Feb 4, 2024
1 parent 347bef8 commit 9f12929
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/domain/parsing/reducer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package parsing

import (
"context"
"fmt"

"github.com/opencars/operations/pkg/domain"
"github.com/opencars/operations/pkg/domain/model"
Expand Down Expand Up @@ -33,7 +32,7 @@ func (r *reducer) Reduce(ctx context.Context, batches <-chan []model.Operation)
}

if err := r.repo.Create(ctx, operations...); err != nil {
fmt.Println(err)
logger.Errorf("failed to insert entities: %v", err)
return err
}

Expand Down

0 comments on commit 9f12929

Please sign in to comment.