Skip to content

Commit

Permalink
AI summary does not fail the build
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Jan 10, 2024
1 parent 197a3c0 commit 388bd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/diff/ai_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func AIDiffSummary(ctx context.Context, mrNote *pkg.Message, name string, manife
if err != nil {
telemetry.SetError(span, err, "OpenAI SummarizeDiff")
log.Error().Err(err).Msg("failed to summarize diff")
cr := pkg.CheckResult{State: pkg.StateWarning, Summary: "failed to summarize diff", Details: err.Error()}
cr := pkg.CheckResult{State: pkg.StateNone, Summary: "failed to summarize diff", Details: err.Error()}
mrNote.AddToAppMessage(ctx, name, cr)
return
}
Expand Down

0 comments on commit 388bd8e

Please sign in to comment.