chore: Add timing information to behavior exit log

This commit is contained in:
Adam Miller 2025-01-06 17:00:43 -08:00
parent f12451be01
commit 4310912c74

View File

@ -824,7 +824,10 @@ class Browser:
and type(msg["result"]["result"]["value"]) == bool
and msg["result"]["result"]["value"]
):
self.logger.info("behavior decided it has finished")
self.logger.info(
"behavior decided it has finished after %.1fs",
time.time() - start,
)
return
except BrowsingTimeout:
pass