beyond-all-reason / teiserver

Middleware server for online gaming
https://www.beyondallreason.info/
MIT License
50 stars 47 forks source link

Application can't start when discord is unavailable #237

Open p2004a opened 5 months ago

p2004a commented 5 months ago

When Discord times out, is unavailable etc, teiserver can't start, crashes, and of course disabling Discord integration is non trivial and requires recompilation, thus Discord is a critical startup dependency for teiserver which is pretty much unacceptable.

I'm not sure what is the behavior when discord suddenly has outage when teiserver is already running.

StanczakDominik commented 3 months ago

Closed by #281

p2004a commented 3 months ago

@StanczakDominik Is it actually fixing this issue? Is the code rewritten so that when discord is enabled in configuration, application doesn't crash when discord service is unavailable?

StanczakDominik commented 3 months ago

Ah, fair - I thought that was within the scope of that PR. Thanks for keeping me honest!