Except all types of timeout error

Closes #4172.
This commit is contained in:
Lonami Exo
2023-08-18 18:36:30 +02:00
parent 128b707488
commit b0f9fd1f25
4 changed files with 5 additions and 4 deletions

View File

@@ -308,7 +308,7 @@ class UpdateMethods:
diff = await self(get_diff)
except (
errors.ServerError,
errors.TimeoutError,
errors.TimedOutError,
errors.FloodWaitError,
ValueError
) as e:
@@ -384,7 +384,7 @@ class UpdateMethods:
errors.PersistentTimestampOutdatedError,
errors.PersistentTimestampInvalidError,
errors.ServerError,
errors.TimeoutError,
errors.TimedOutError,
errors.FloodWaitError,
ValueError
) as e: