Skip to content

Commit

Permalink
replace Size Error with InvalidParameterValue
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
  • Loading branch information
mbernasocchi committed Apr 12, 2019
1 parent b9a807b commit 68cc88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -800,7 +800,7 @@ namespace QgsWms
// check size
if ( !checkMaximumWidthHeight() )
{
throw QgsBadRequestException( QStringLiteral( "Size error" ),
throw QgsBadRequestException( QStringLiteral( "InvalidParameterValue" ),
QStringLiteral( "The requested map size is too large" ) );
}

Expand Down

0 comments on commit 68cc88c

Please sign in to comment.