Merge "Avoid error if logFile is not defined" into stable/newton
This commit is contained in:
commit
a12b17c3b3
|
@ -1017,7 +1017,10 @@ def main():
|
|||
except Exception as e:
|
||||
logging.error(traceback.format_exc())
|
||||
print("\n" + utils.color_text("ERROR : " + str(e), 'red'))
|
||||
print(output_messages.ERR_CHECK_LOG_FILE_FOR_MORE_INFO % (logFile))
|
||||
try:
|
||||
print(output_messages.ERR_CHECK_LOG_FILE_FOR_MORE_INFO % (logFile))
|
||||
except NameError:
|
||||
pass
|
||||
sys.exit(1)
|
||||
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue