Skip to content
Permalink
Browse files

Fix some processing algorithm exception handling

  • Loading branch information
nyalldawson committed Jul 8, 2017
1 parent e2c84f1 commit f8e37aa7cb245407a13b28c5b0c68bd1865b25dc
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/processing/qgsnativealgorithms.cpp
@@ -1035,8 +1035,7 @@ QVariantMap QgsExtractByAttributeAlgorithm::processAlgorithm( const QVariantMap
QgsExpression expression( expr );
if ( expression.hasParserError() )
{
// raise GeoAlgorithmExecutionException(expression.parserErrorString())
return QVariantMap();
throw QgsProcessingException( expression.parserErrorString() );
}

QgsExpressionContext expressionContext = createExpressionContext( parameters, context );

0 comments on commit f8e37aa

Please sign in to comment.
You can’t perform that action at this time.