Skip to content

Commit

Permalink
Avoid redundant error
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 20, 2018
1 parent c0d4ce7 commit 668af8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/arcgisrest/qgsarcgisrestutils.cpp
Expand Up @@ -490,6 +490,8 @@ QVariantMap QgsArcGisRestUtils::queryServiceJSON( const QUrl &url, QString &erro
{
return QVariantMap();
}
if ( feedback && feedback->isCanceled() )
return QVariantMap();

// Parse data
QJsonParseError err;
Expand Down

0 comments on commit 668af8c

Please sign in to comment.