Tweaked abort message in Crash_Gen tool

This commit is contained in:
Steven Li 2020-06-29 23:02:05 -07:00
parent 30f5a202f9
commit 4b4c090557
1 changed files with 2 additions and 2 deletions

View File

@ -1024,8 +1024,8 @@ class Task():
if gConfig.debug :
raise # so that we see full stack
else: # non-debug
print("\n\n----------------------------\nProgram ABORTED Due to Unexpected TAOS Error: \n\n{}\n" +
"--------------\n".format(errMsg))
print("\n\n----------------------------\nProgram ABORTED Due to Unexpected TAOS Error: \n\n{}\n".format(errMsg) +
"----------------------------\n")
sys.exit(-1)
except:
self.logDebug("[=] Unexpected exception, SQL: {}".format(self._lastSql))