Make ARI error messages clearer (#8260)

Fixes https://github.com/letsencrypt/boulder/issues/8259
This commit is contained in:
Aaron Gable 2025-06-17 16:55:36 -07:00 committed by GitHub
parent 5ad5f85cfb
commit b6c5ee69ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2327,7 +2327,7 @@ func (wfe *WebFrontEndImpl) NewOrder(
var isARIRenewal bool
replacesSerial, isARIRenewal, err = wfe.validateReplacementOrder(ctx, acct, idents, newOrderRequest.Replaces)
if err != nil {
wfe.sendError(response, logEvent, web.ProblemDetailsForError(err, "While validating order as a replacement an error occurred"), err)
wfe.sendError(response, logEvent, web.ProblemDetailsForError(err, "Could not validate ARI 'replaces' field"), err)
return
}