Browse Source

wxGUI: report errors when unable to parse addons interface

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64504 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
a0d8c30d3d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/core/toolboxes.py

+ 2 - 1
gui/wxpython/core/toolboxes.py

@@ -539,7 +539,8 @@ def _loadMetadata(module):
     """
     try:
         task = gtask.parse_interface(module)
-    except (ScriptError, UnicodeDecodeError):
+    except (ScriptError, UnicodeDecodeError) as e:
+        sys.stderr.write("%s: %s\n" % (module, e))
         return '', ''
 
     return task.get_description(full=True), \