feat: add behavior status response to logging

This commit is contained in:
Adam Miller 2025-01-06 15:43:12 -08:00
parent eb922f5155
commit f12451be01

View File

@ -807,6 +807,12 @@ class Browser:
lambda: self.websock_thread.received_result(msg_id), timeout=5
)
msg = self.websock_thread.pop_result(msg_id)
self.logger.info("Behavior status is %s", str(msg))
# Behavior response while still running
# {'id': 8, 'result': {'result': {'type': 'boolean', 'value': False}}}
# Behavior response when finished
# {'id': 9, 'result': {'result': {'type': 'boolean', 'value': True}}}
if (
msg
and "result" in msg