Commits

Steve Borho committed b63c93b

hgtk: include NameError in scan list for stderr output

  • Participants
  • Parent commits a754cc7
  • Branches stable

Comments (0)

Files changed (1)

         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'