From 39ac7cf3f2f4aef9e95690c9bcc68a18eb9040d6 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Mon, 16 Feb 2026 18:34:54 +0100 Subject: [PATCH] Add SC1010 to codes redacted in syntax error messages (#2388) --- src/Common/dataAccess/queryDocumentsPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/dataAccess/queryDocumentsPage.ts b/src/Common/dataAccess/queryDocumentsPage.ts index b5ec9c684..3903f25b4 100644 --- a/src/Common/dataAccess/queryDocumentsPage.ts +++ b/src/Common/dataAccess/queryDocumentsPage.ts @@ -6,7 +6,7 @@ import { MinimalQueryIterator, nextPage } from "../IteratorUtilities"; // Redact sensitive information from BadRequest errors with specific codes export const redactSyntaxErrorMessage = (error: unknown): unknown => { - const codesToRedact = ["SC1001", "SC2001"]; + const codesToRedact = ["SC1001", "SC2001", "SC1010"]; try { // Handle error objects with a message property