개정판 91febe01
issue #000: unhandled msg
Change-Id: I187a7f89bd543270c6734080ae4bea55a3017a23
DTI_PID/DTI_PID/ExceptionHandler.py | ||
---|---|---|
32 | 32 |
from AppDocData import MessageType |
33 | 33 |
|
34 | 34 |
message = 'error occured({}) in {}:{}'.format(value, traceback.tb_frame.f_code.co_filename, traceback.tb_lineno) |
35 |
message = 'CRITICAL Unhandled exception: {}'.format(message) |
|
35 | 36 |
self.errorSignal.emit() |
36 |
self.logger.critical('Unhandled exception: {}'.format(message))
|
|
37 |
self.logger.critical(message)
|
|
37 | 38 |
|
38 | 39 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
내보내기 Unified diff