PR comments.

This commit is contained in:
mike12345567 2024-07-01 17:50:34 +01:00
parent c4ffd37caa
commit 5ac9fe43fc
1 changed files with 1 additions and 2 deletions

View File

@ -340,8 +340,7 @@ export async function search(
await sdk.tables.sqs.syncDefinition() await sdk.tables.sqs.syncDefinition()
return search(options, table) return search(options, table)
} }
// previously the internal table didn't error when // previously the internal table didn't error when a column didn't exist in search
console.log(JSON.stringify(err))
if (err.status === 400 && msg?.match(MISSING_COLUMN_REGEX)) { if (err.status === 400 && msg?.match(MISSING_COLUMN_REGEX)) {
return { rows: [] } return { rows: [] }
} }