fix (rooms): Harden turnover to deletion.

Fix an issue where `TimeSlot.start()` could propagate an exception.
This commit is contained in:
2021-10-19 20:21:57 +03:00
parent 7c2a6c39a7
commit 6a43530142
2 changed files with 16 additions and 4 deletions

View File

@@ -232,7 +232,8 @@ async def turnover():
# Start all the current rooms
await asyncio.gather(
*(slot.start() for slot in current_slots)
*(slot.start() for slot in current_slots),
return_exceptions=True
)