فهرست منبع

r.in.wms: be more specific when fetching capabilities fails

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54986 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 سال پیش
والد
کامیت
b2683e0efe
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      scripts/r.in.wms/wms_base.py

+ 1 - 1
scripts/r.in.wms/wms_base.py

@@ -196,7 +196,7 @@ class WMSBase:
             if urllib2.HTTPError == type(e) and e.code == 401:
                 grass.fatal(_("Authorization failed to <%s> when fetching capabilities") % options['url'])
             else:
-                msg = _("Unable to fetch capabilities from <%s>") % (options['url'])
+                msg = _("Unable to fetch capabilities from <%s>: %s") % (options['url'], e)
                 
                 if hasattr(e, 'reason'):
                     msg += _("\nReason: ") + e.reason