We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf02a05 commit 8d9d909Copy full SHA for 8d9d909
src/server/services/wms/qgswmsgetlegendgraphics.cpp
@@ -96,8 +96,7 @@ namespace QgsWms
96
}
97
else
98
{
99
- throw QgsServiceException( QStringLiteral( "UnknownError" ),
100
- QStringLiteral( "Failed to compute GetLegendGraphics image" ) );
+ throw QgsException( QStringLiteral( "Failed to compute GetLegendGraphics image" ) );
101
102
103
} // namespace QgsWms
src/server/services/wms/qgswmsgetmap.cpp
@@ -57,8 +57,7 @@ namespace QgsWms
57
58
59
60
61
- QStringLiteral( "Failed to compute GetMap image" ) );
+ throw QgsException( QStringLiteral( "Failed to compute GetMap image" ) );
62
63
64
0 commit comments