This commit is contained in:
Łukasz Domeradzki
2024-03-26 22:04:19 +01:00
parent 88be284117
commit 7bb23efc2f

View File

@@ -3760,6 +3760,11 @@ public sealed class Bot : IAsyncDisposable, IDisposable {
}
switch (result) {
case EResult.Blocked:
// No point in retrying, those failures are permanent
ArchiLogger.LogGenericWarning(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, result));
return false;
case EResult.Busy:
case EResult.Fail:
case EResult.LimitExceeded: