Debugger/ExceptionLogger.py

changeset 3021
801289962f4e
parent 2988
f53c03574697
child 3058
0a02c433f52d
child 3160
209a07d7e401
equal deleted inserted replaced
3020:542e97d4ecb3 3021:801289962f4e
94 @param exceptionMessage message given by the exception (string) 94 @param exceptionMessage message given by the exception (string)
95 @param stackTrace list of stack entries. 95 @param stackTrace list of stack entries.
96 """ 96 """
97 itm = QTreeWidgetItem(self) 97 itm = QTreeWidgetItem(self)
98 if exceptionType is None: 98 if exceptionType is None:
99 itm.setText(0, 99 itm.setText(
100 self.trUtf8('An unhandled exception occured.' 100 0, self.trUtf8('An unhandled exception occured.'
101 ' See the shell window for details.')) 101 ' See the shell window for details.'))
102 return 102 return
103 103
104 if exceptionMessage == '': 104 if exceptionMessage == '':
105 itm.setText(0, "{0}".format(exceptionType)) 105 itm.setText(0, "{0}".format(exceptionType))
106 else: 106 else:

eric ide

mercurial