Debugger/ExceptionLogger.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3021
801289962f4e
child 3145
a9de05d4a22f
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
96 @param exceptionMessage message given by the exception (string) 96 @param exceptionMessage message given by the exception (string)
97 @param stackTrace list of stack entries. 97 @param stackTrace list of stack entries.
98 """ 98 """
99 itm = QTreeWidgetItem(self) 99 itm = QTreeWidgetItem(self)
100 if exceptionType is None: 100 if exceptionType is None:
101 itm.setText(0, 101 itm.setText(
102 self.trUtf8('An unhandled exception occured.' 102 0, self.trUtf8('An unhandled exception occured.'
103 ' See the shell window for details.')) 103 ' See the shell window for details.'))
104 return 104 return
105 105
106 if exceptionMessage == '': 106 if exceptionMessage == '':
107 itm.setText(0, "{0}".format(exceptionType)) 107 itm.setText(0, "{0}".format(exceptionType))
108 else: 108 else:

eric ide

mercurial