mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
feat: add behavior status response to logging
This commit is contained in:
parent
eb922f5155
commit
f12451be01
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user