PR comments.
This commit is contained in:
parent
c4ffd37caa
commit
5ac9fe43fc
|
@ -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: [] }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue