Commit 1574a04e authored by Elizabeth Halper's avatar Elizabeth Halper
Browse files

fix error throw

parent dfc8f4a4
Pipeline #106430 failed with stages
in 3 minutes and 30 seconds
......@@ -348,7 +348,7 @@ class AzureCosmosDbFilter {
public addFilterExpression(toStatement: SqlStatementBuilder) {
if (this.operator === 'HAS_ANCESTOR') {
throw new Error('HAS_ANCESTOR operator is not supported in query filters.');
throw Error.make(Error.Status.UNKNOWN, 'HAS_ANCESTOR operator is not supported in query filters.');
}
const parameterName = `@${toStatement.getUniqueParameterName(this.property)}`;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment