From de40f306cff2052c198d568767f24cb626476920 Mon Sep 17 00:00:00 2001 From: Boaz Haim Date: Wed, 6 Nov 2024 19:08:10 +0200 Subject: [PATCH] Adding docstring --- .../src/loganalyze/log_analyzers/base_analyzer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py index 7a2536de..1d6db24f 100644 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py @@ -125,6 +125,9 @@ def full_analysis(self): Run all the analysis and returns a list of all the graphs created and their title """ for func in self._funcs_for_analysis: + # Since we don't know who we are calling and how they + # Behave, this is a way to protect all the functions + # In case a function is raising an exception. try: func() except: # pylint: disable=bare-except