diff options
Diffstat (limited to 'vk/api.py')
-rw-r--r-- | vk/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ class API: if 'response' not in response: raise vk.error.InvalidAPIResponseError(response) return response['response'] - except URLError: + except (ConnectionError, URLError): raise vk.error.APIConnectionError() @staticmethod |