Skip to content

Commit cdc7630

Browse files
committed
Simplify error message
1 parent d444864 commit cdc7630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sa/sa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ func addRevokedCertificate(ctx context.Context, tx db.Executor, req *sapb.Revoke
810810
// An attempted duplicate insert means that this certificate was already
811811
// revoked. The RA has special logic for that case, so use the specific
812812
// error for it.
813-
return berrors.AlreadyRevokedError("certificate with serial %s already in revokedCertificates table", req.Serial)
813+
return berrors.AlreadyRevokedError("certificate already revoked")
814814
}
815815
return fmt.Errorf("inserting revoked certificate row: %w", err)
816816
}

0 commit comments

Comments
 (0)