Skip to content

Commit

Permalink
fix: jaeger datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Sep 12, 2023
1 parent 57a9ef2 commit 464c552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tracedb/jaegerdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func jaegerGrpcGetTraceByID(ctx context.Context, traceID string, conn *grpc.Clie
if !ok {
return traces.Trace{}, fmt.Errorf("jaeger stream recv: %w", err)
}
if st.Message() == "trace not found" {
if strings.Contains(st.Message(), "trace not found") {
return traces.Trace{}, connection.ErrTraceNotFound
}
return traces.Trace{}, fmt.Errorf("jaeger stream recv err: %w", err)
Expand Down

0 comments on commit 464c552

Please sign in to comment.