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 9d5fa5b commit 8ac6140a5813de19a8f3845a3dc88cd5a39bb089
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/server/services/wms/qgswms.cpp
@@ -90,7 +90,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 );
}

@@ -153,7 +153,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 8ac6140

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