Skip to content

Commit 7cce46e

Browse files
committed
Fix error message
1 parent e25f60c commit 7cce46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/services/wms/qgswmsgetprint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace QgsWms
5050
else
5151
{
5252
throw QgsServiceException( QStringLiteral( "InvalidFormat" ),
53-
QString( "Output format %1 is not supported by the GetPrint request" ).arg( format ) );
53+
QString( "Output format %1 is not supported by the GetPrint request" ).arg( wmsParameters.formatAsString() ) );
5454
}
5555

5656
response.setHeader( QStringLiteral( "Content-Type" ), contentType );

0 commit comments

Comments
 (0)