Skip to content

Commit 2a91452

Browse files
committedOct 17, 2017
Fix error code
1 parent 24a8928 commit 2a91452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/server/services/wms/qgswmsrenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ namespace QgsWms
909909
QStringList queryLayers = mWmsParameters.queryLayersNickname();
910910
if ( queryLayers.isEmpty() )
911911
{
912-
throw QgsBadRequestException( QStringLiteral( "ParameterMissing" ),
912+
throw QgsBadRequestException( QStringLiteral( "LayerNotQueryable" ),
913913
QStringLiteral( "QUERY_LAYERS parameter is required for GetFeatureInfo" ) );
914914
}
915915

0 commit comments

Comments
 (0)
Please sign in to comment.