mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-14 01:36:08 +03:00
fix: handle guild data load errors better
This commit is contained in:
parent
02707312f5
commit
67a289a2d6
8 changed files with 140 additions and 27 deletions
|
@ -30,7 +30,7 @@ public class GuildUnloadedResponder : IResponder<IGuildDelete>
|
|||
var isDataRemoved = _guildData.UnloadGuildData(guildId);
|
||||
if (isDataRemoved)
|
||||
{
|
||||
_logger.LogInformation("Left guild {GuildId}", guildId);
|
||||
_logger.LogInformation("Unloaded guild {GuildId}", guildId);
|
||||
}
|
||||
|
||||
return Task.FromResult(Result.FromSuccess());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue