Skip to content
Permalink
Browse files
[ams] Fix legend fetching error reporting
  • Loading branch information
nyalldawson committed May 13, 2022
1 parent 5718203 commit c69fcd7ed4ad4c1b38bd56d7b1352ea6deb45111
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/arcgisrest/qgsamsprovider.cpp
@@ -117,7 +117,7 @@ void QgsAmsLegendFetcher::handleFinished()
QJsonDocument doc = QJsonDocument::fromJson( mQueryReply, &err );
if ( doc.isNull() )
{
emit error( QStringLiteral( "Parsing error:" ).arg( err.errorString() ) );
emit error( QStringLiteral( "Parsing error: %1" ).arg( err.errorString() ) );
}
QVariantMap queryResults = doc.object().toVariantMap();
QgsDataSourceUri dataSource( mProvider->dataSourceUri() );

0 comments on commit c69fcd7

Please sign in to comment.