개정판 586c3628
add expression debug msg
Change-Id: I41937038975025d53c20e080232ba70badd377af
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
882 | 882 |
from AppDocData import MessageType |
883 | 883 |
|
884 | 884 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
885 |
sys.exc_info()[-1].tb_lineno) + ' Item UID : ' + str(self.uid) |
|
885 |
sys.exc_info()[-1].tb_lineno) + ' Item UID : ' + str(self.uid) + ' ' + expression
|
|
886 | 886 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
887 | 887 |
|
888 | 888 |
return '' |
내보내기 Unified diff