Skip to content

Commit

Permalink
Applied patch #1499 with slight modifications
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9996 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 21, 2009
1 parent e030ff3 commit ac88333
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -1698,9 +1698,13 @@ void QgsWmsProvider::parseServiceException( QDomElement const & e )
{
mError = tr( "Request is for an optional operation that is not supported by the server." );
}
else if( seCode.isEmpty() )
{
mError = tr( "(No error code was reported)" );
}
else
{
mError = tr( "(Unknown error code from a post-1.3 WMS server)" );
mError = seCode + " " + tr( "(Unknown error code)" );
}

mError += "\n" + tr( "The WMS vendor also reported: " );
Expand Down

0 comments on commit ac88333

Please sign in to comment.