Skip to content

Commit f9ad726

Browse files
committed
feat(executor): add error message if the task fails
1 parent 3b3c487 commit f9ad726

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/balatrollm/executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ async def run_task(task: Task) -> None:
8787
async with bot:
8888
await bot.play(self.runs_dir)
8989
print(f"[{count:0{len(str(total))}d}/{total}] COMPLETED | {task} | {log_path}")
90+
except Exception:
91+
print(f"[{count:0{len(str(total))}d}/{total}] ERROR | {task} | {log_path}")
9092
finally:
9193
await self._port_pool.put(port)
9294

0 commit comments

Comments
 (0)