Skip to content

Commit

Permalink
more engine debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 2, 2024
1 parent cbe4746 commit 959b916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bbot/core/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ async def run_and_yield(self, client_id, command_fn, *args, **kwargs):
self.log.debug(f"{self.name} run-and-yield {fn_str}")
try:
async for _ in command_fn(*args, **kwargs):
self.log.debug(f"{self.name}: sending iteration for {command_fn.__name__}(): {_}")
await self.send_socket_multipart(client_id, _)
except BaseException as e:
error = f"Error in {self.name}.{fn_str}: {e}"
Expand Down

0 comments on commit 959b916

Please sign in to comment.