|
|
@ -428,14 +428,9 @@ def start(attrs):
|
|
|
|
logger.stacktrace()
|
|
|
|
logger.stacktrace()
|
|
|
|
logger.error(f"Report Error: {e}")
|
|
|
|
logger.error(f"Report Error: {e}")
|
|
|
|
|
|
|
|
|
|
|
|
if start_time.date() == end_time.date():
|
|
|
|
|
|
|
|
start_str = start_time.strftime('%H:%M:%S')
|
|
|
|
|
|
|
|
end_str = end_time.strftime('%H:%M:%S')
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
start_str = start_time.strftime('%H:%M:%S %Y-%m-%d')
|
|
|
|
start_str = start_time.strftime('%H:%M:%S %Y-%m-%d')
|
|
|
|
end_str = end_time.strftime('%H:%M:%S %Y-%m-%d')
|
|
|
|
end_str = end_time.strftime('%H:%M:%S %Y-%m-%d')
|
|
|
|
|
|
|
|
logger.separator(f"Finished {start_type}Run\n{version_line}\nStart Time: {start_str} Finished: {end_str} Run Time: {run_time}")
|
|
|
|
logger.separator(f"Finished {start_type}Run\n{version_line}\nStart Time: {start_str} End Time: {end_str} Run Time: {run_time}")
|
|
|
|
|
|
|
|
logger.remove_main_handler()
|
|
|
|
logger.remove_main_handler()
|
|
|
|
except Exception as e:
|
|
|
|
except Exception as e:
|
|
|
|
logger.stacktrace()
|
|
|
|
logger.stacktrace()
|
|
|
|