提交 4b4c0905 编写于 作者: S Steven Li

Tweaked abort message in Crash_Gen tool

上级 30f5a202
...@@ -1024,8 +1024,8 @@ class Task(): ...@@ -1024,8 +1024,8 @@ class Task():
if gConfig.debug : if gConfig.debug :
raise # so that we see full stack raise # so that we see full stack
else: # non-debug else: # non-debug
print("\n\n----------------------------\nProgram ABORTED Due to Unexpected TAOS Error: \n\n{}\n" + print("\n\n----------------------------\nProgram ABORTED Due to Unexpected TAOS Error: \n\n{}\n".format(errMsg) +
"--------------\n".format(errMsg)) "----------------------------\n")
sys.exit(-1) sys.exit(-1)
except: except:
self.logDebug("[=] Unexpected exception, SQL: {}".format(self._lastSql)) self.logDebug("[=] Unexpected exception, SQL: {}".format(self._lastSql))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册