forked from zietzm/Helmholtz_Test_Bench
changed all print() to ui_print()
This commit is contained in:
@@ -16,9 +16,9 @@ try: # start normal operations
|
||||
|
||||
|
||||
except BaseException as e: # if there is an error, print what happened
|
||||
print("\nAn error occurred, Shutting down.")
|
||||
print(e)
|
||||
print(traceback.print_exc())
|
||||
func.ui_print("\nAn error occurred, Shutting down.")
|
||||
func.ui_print(e)
|
||||
func.ui_print(traceback.print_exc())
|
||||
|
||||
finally: # safely shut everything down at the end
|
||||
func.shut_down_all()
|
||||
|
||||
Reference in New Issue
Block a user