3d69a00716
This happened because we cache Task instances, not the values, and a failed task is still a *valid* task that can repeatedly be awaited. This lead to the Task being saved even if it failed, and the same exception constantly being re-thrown. This fix invalidates the cache if it finds a failed Task, and lets it retry fetching as normal (hopefully successfully this time). |
||
---|---|---|
.. | ||
Commands | ||
CommandSystem | ||
Handlers | ||
Lists | ||
Services | ||
Utils | ||
Bot.cs | ||
BotConfig.cs | ||
BotMetrics.cs | ||
Errors.cs | ||
Init.cs | ||
Modules.cs | ||
PluralKit.Bot.csproj | ||
PluralKit.Bot.csproj.DotSettings |