From 48e9c9cc6dbdb23f39285ef21248128b833256ba Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Sun, 12 May 2019 22:12:50 +0300 Subject: [PATCH] UserService self._get_raw_data except fix (#5997) --- .../python_modules/bases/FrameworkServices/UrlService.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collectors/python.d.plugin/python_modules/bases/FrameworkServices/UrlService.py b/collectors/python.d.plugin/python_modules/bases/FrameworkServices/UrlService.py index c261721873..4394566551 100644 --- a/collectors/python.d.plugin/python_modules/bases/FrameworkServices/UrlService.py +++ b/collectors/python.d.plugin/python_modules/bases/FrameworkServices/UrlService.py @@ -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