updated start proto to return exception strings, updated grpc start session to exist early when a failure is found, updated coretk ui to not switch ui to running when start fails and display error dialog

This commit is contained in:
Blake Harnden 2019-12-20 15:11:34 -08:00
parent 5639aeab75
commit 6d68034177
8 changed files with 70 additions and 36 deletions

View file

@ -68,10 +68,9 @@ class StatusBar(ttk.Frame):
dialog = AlertsDialog(self.app, self.app)
dialog.show()
def start_session_callback(self, process_time):
self.progress_bar.stop()
self.statusvar.set(f"Session started in {process_time:.3f} seconds")
def set_status(self, message):
self.statusvar.set(message)
def stop_session_callback(self, cleanup_time):
self.progress_bar.stop()
self.statusvar.set(f"Stopped session in {cleanup_time:.3f} seconds")
self.statusvar.set(f"Stopped in {cleanup_time:.3f} seconds")