diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-01-17 10:49:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 10:49:32 +0300 |
commit | 116bf2a772845cba12e7a01984d8b8b8c234ebeb (patch) | |
tree | accd6479f176ffe0604b0766807a9d88126b9ddc | |
parent | a5f8d3da3b9ad4e438786e73382987e5fae91224 (diff) |
fix(python.d): ignore decoding errors in ExecutableService (#11979)
-rw-r--r-- | collectors/python.d.plugin/python_modules/bases/FrameworkServices/ExecutableService.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/python_modules/bases/FrameworkServices/ExecutableService.py b/collectors/python.d.plugin/python_modules/bases/FrameworkServices/ExecutableService.py index dea50eea0d..a74b4239ee 100644 --- a/collectors/python.d.plugin/python_modules/bases/FrameworkServices/ExecutableService.py +++ b/collectors/python.d.plugin/python_modules/bases/FrameworkServices/ExecutableService.py @@ -35,7 +35,7 @@ class ExecutableService(SimpleService): for line in std: try: data.append(line.decode('utf-8')) - except TypeError: + except (TypeError, UnicodeDecodeError): continue return data |