UserService self._get_raw_data except fix (#5997)

This commit is contained in:
Ilya Mashchenko 2019-05-12 22:12:50 +03:00 committed by GitHub
parent 660c9a7dc7
commit 48e9c9cc6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class UrlService(SimpleService):
"""
try:
status, data = self._get_raw_data_with_status(url, manager, **kwargs)
except (urllib3.exceptions.HTTPError, TypeError, AttributeError) as error:
except Exception as error:
self.error('Url: {url}. Error: {error}'.format(url=url or self.url, error=error))
return None