Add additional logging around status polling
This commit is contained in:
@@ -32,6 +32,7 @@ class UIController:
|
|||||||
def poll():
|
def poll():
|
||||||
try:
|
try:
|
||||||
statuses = status_provider_callback()
|
statuses = status_provider_callback()
|
||||||
|
print(f"Status result {statuses}")
|
||||||
|
|
||||||
# UPDATE UI
|
# UPDATE UI
|
||||||
self._update_label(
|
self._update_label(
|
||||||
@@ -46,6 +47,8 @@ class UIController:
|
|||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error polling status: {e}")
|
print(f"Error polling status: {e}")
|
||||||
|
import traceback
|
||||||
|
traceback.print_exc()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
poll()
|
poll()
|
||||||
|
|||||||
Reference in New Issue
Block a user