diff --git a/hikka/log.py b/hikka/log.py index b2955f5..7599d88 100644 --- a/hikka/log.py +++ b/hikka/log.py @@ -68,6 +68,8 @@ def override_text(exception: Exception) -> typing.Optional[str]: """Returns error-specific description if available, else `None`""" if isinstance(exception, NetworkError): return "✈️ You have problems with internet connection on your server." + if 'Telegram is having internal issues' in str(exception): + return "✈️ Telegram has problems with their datacenters." return None