Skip to content

Commit

Permalink
Log problems communicating with Elasticsearch (jaegertracing#3451)
Browse files Browse the repository at this point in the history
  • Loading branch information
esnible authored Dec 15, 2021
1 parent 5ea0544 commit 576266f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/storage/es/spanstore/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ func (s *SpanReader) findTraceIDs(ctx context.Context, traceQuery *spanstore.Tra

searchResult, err := searchService.Do(ctx)
if err != nil {
s.logger.Info("es search services failed", zap.Any("traceQuery", traceQuery), zap.Error(err))
return nil, fmt.Errorf("search services failed: %w", err)
}
if searchResult.Aggregations == nil {
Expand Down

0 comments on commit 576266f

Please sign in to comment.