Skip to content
Permalink
Browse files

Fix backport: QgsServiceException::OGC_OPERATION_NOT_SUPPORTED does n…

…ot exist
  • Loading branch information
rldhont committed Apr 11, 2019
1 parent e6e4b86 commit dd2aaa524d36dd5fe51cb35d135c0875a56ed9bd
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/server/services/wms/qgswms.cpp
@@ -89,7 +89,7 @@ namespace QgsWms
const QString req = parameters.request();
if ( req.isEmpty() )
{
throw QgsServiceException( QgsServiceException::OGC_OPERATION_NOT_SUPPORTED,
throw QgsServiceException( QStringLiteral( "OperationNotSupported" ),
QStringLiteral( "Please check the value of the REQUEST parameter" ), 501 );
}

@@ -152,7 +152,7 @@ namespace QgsWms
else
{
// Operation not supported
throw QgsServiceException( QgsServiceException::OGC_OPERATION_NOT_SUPPORTED,
throw QgsServiceException( QStringLiteral( "OperationNotSupported" ),
QString( "Request %1 is not supported" ).arg( req ), 501 );
}
}

0 comments on commit dd2aaa5

Please sign in to comment.
You can’t perform that action at this time.