We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a91452 commit 592033aCopy full SHA for 592033a
src/server/services/wms/qgswmsrenderer.cpp
@@ -909,8 +909,8 @@ namespace QgsWms
909
QStringList queryLayers = mWmsParameters.queryLayersNickname();
910
if ( queryLayers.isEmpty() )
911
{
912
- throw QgsBadRequestException( QStringLiteral( "LayerNotQueryable" ),
913
- QStringLiteral( "QUERY_LAYERS parameter is required for GetFeatureInfo" ) );
+ QString msg = QObject::tr( "QUERY_LAYERS parameter is required for GetFeatureInfo" );
+ throw QgsBadRequestException( QStringLiteral( "LayerNotQueryable" ), msg );
914
}
915
916
// The I/J parameters are Mandatory if they are not replaced by X/Y or FILTER or FILTER_GEOM
0 commit comments