Source

thg / hgtk

Diff from to
         sys.stderr = origstderr
         mystderr.seek(0)
         for l in mystderr.readlines():
-            if l.startswith('Traceback') or l.startswith('TypeError'):
+            if l.startswith('Traceback') or l.startswith('TypeError') or \
+               l.startswith('NameError'):
                 from tortoisehg.hgtk.bugreport import run
                 from tortoisehg.hgtk.hgtk import gtkrun
                 error = 'Recoverable runtime error (stderr):\n'