Index: src/providers/wms/qgswmsprovider.cpp =================================================================== --- src/providers/wms/qgswmsprovider.cpp (revision 9954) +++ src/providers/wms/qgswmsprovider.cpp (working copy) @@ -1698,9 +1698,13 @@ { mError = tr( "Request is for an optional operation that is not supported by the server." ); } + else if ( seCode == 0 ) // not one of the specific errors in the spec. + { + 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 from a post-1.3 WMS server)" ); // show the code sent plus QGIS msg txt } mError += "\n" + tr( "The WMS vendor also reported: " );