Skip to content

Commit 68cc88c

Browse files
committed
replace Size Error with InvalidParameterValue
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
1 parent b9a807b commit 68cc88c

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
@@ -800,7 +800,7 @@ namespace QgsWms
800800
// check size
801801
if ( !checkMaximumWidthHeight() )
802802
{
803-
throw QgsBadRequestException( QStringLiteral( "Size error" ),
803+
throw QgsBadRequestException( QStringLiteral( "InvalidParameterValue" ),
804804
QStringLiteral( "The requested map size is too large" ) );
805805
}
806806

0 commit comments

Comments
 (0)