Skip to content

Commit

Permalink
go logs-ingestion: Fix logs ingestion crashing on application log ins…
Browse files Browse the repository at this point in the history
…ertion
  • Loading branch information
XxRoloxX committed Dec 1, 2024
1 parent 4c7d4a4 commit 1648909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/pkg/repositories/application_logs_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ func (r *ElasticSearchApplicationLogsRepository) InsertLogs(ctx context.Context,
insertedLogs, err := bulk.Do(ctx)
if err != nil {
r.logger.Error("Failed to insert application logs", zap.Error(err))
return nil, err
}

ids := make([]string, 0, 0)
Expand Down

0 comments on commit 1648909

Please sign in to comment.