Skip to content

Commit

Permalink
Fix error code
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 17, 2017
1 parent 24a8928 commit 2a91452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -909,7 +909,7 @@ namespace QgsWms
QStringList queryLayers = mWmsParameters.queryLayersNickname();
if ( queryLayers.isEmpty() )
{
throw QgsBadRequestException( QStringLiteral( "ParameterMissing" ),
throw QgsBadRequestException( QStringLiteral( "LayerNotQueryable" ),
QStringLiteral( "QUERY_LAYERS parameter is required for GetFeatureInfo" ) );
}

Expand Down

0 comments on commit 2a91452

Please sign in to comment.