You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x =>JsonConvert.DeserializeObject<MemberPunishment>(x.Value)
26
+
);
27
+
28
+
CurrentBans=bans.Values.ToList();
29
+
30
+
LastBanListPopulationFailed=false;
31
+
}
32
+
catch(Exceptionex)
33
+
{
34
+
if(!LastBanListPopulationFailed)
35
+
Program.discord.Logger.LogWarning(ex,"Failed to populate list of current bans during override persistence checks! This warning will be suppressed until the next success!");
36
+
37
+
// Since this is likely caused by corrupt or otherwise unreadable data in the db, set a flag so that this warning is not spammed
38
+
// The flag will be reset on the next successful attempt to populate the CurrentBans list
x =>JsonConvert.DeserializeObject<MemberPunishment>(x.Value)
201
+
);
202
+
203
+
CurrentBans=bans.Values.ToList();
204
+
205
+
LastBanListPopulationFailed=false;
206
+
}
207
+
catch(Exceptionex)
208
+
{
209
+
if(!LastBanListPopulationFailed)
210
+
Program.discord.Logger.LogWarning(ex,"Failed to populate list of current bans during override persistence checks! This warning will be suppressed until the next success!");
211
+
212
+
// Since this is likely caused by corrupt or otherwise unreadable data in the db, set a flag so that this warning is not spammed
213
+
// The flag will be reset on the next successful attempt to populate the CurrentBans list
0 commit comments