ArchipelagoMW / Archipelago

Archipelago Multi-Game Randomizer and Server
https://archipelago.gg
Other
412 stars 557 forks source link

WebHost: Log: handle FileNotFoundError #3603

Closed black-sliver closed 6 days ago

black-sliver commented 6 days ago

What is this fixing or adding?

yielding from a generator function would raise the error outside of the try block. This opens the file before entering the generator.

How was this tested?

Local webhost with waitress, starting a room and deleting the file. Seeing no errors being logged to console.