We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e2c84f1 commit f8e37aaCopy full SHA for f8e37aa
src/core/processing/qgsnativealgorithms.cpp
@@ -1035,8 +1035,7 @@ QVariantMap QgsExtractByAttributeAlgorithm::processAlgorithm( const QVariantMap
1035
QgsExpression expression( expr );
1036
if ( expression.hasParserError() )
1037
{
1038
- // raise GeoAlgorithmExecutionException(expression.parserErrorString())
1039
- return QVariantMap();
+ throw QgsProcessingException( expression.parserErrorString() );
1040
}
1041
1042
QgsExpressionContext expressionContext = createExpressionContext( parameters, context );
0 commit comments