##// END OF EJS Templates
ui: write traceback to self.ferr
Simon Heimberg -
r15088:31c9e2a7 stable
parent child Browse files
Show More
@@ -653,9 +653,9 b' class ui(object):'
653 printed.'''
653 printed.'''
654 if self.tracebackflag:
654 if self.tracebackflag:
655 if exc:
655 if exc:
656 traceback.print_exception(exc[0], exc[1], exc[2])
656 traceback.print_exception(exc[0], exc[1], exc[2], file=self.ferr)
657 else:
657 else:
658 traceback.print_exc()
658 traceback.print_exc(file=self.ferr)
659 return self.tracebackflag
659 return self.tracebackflag
660
660
661 def geteditor(self):
661 def geteditor(self):
General Comments 0
You need to be logged in to leave comments. Login now