Browse Source

Stop throwing exception except ValueError

Kenjiro Nakayama 6 years ago
parent
commit
d9198fd19c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      roles/lib_utils/action_plugins/sanity_checks.py

+ 2 - 0
roles/lib_utils/action_plugins/sanity_checks.py

@@ -456,6 +456,8 @@ class ActionModule(ActionBase):
                     json.loads(json_var)
                 except ValueError:
                     found_invalid_json.append([var, json_var])
+                except BaseException:
+                    pass
 
         if found_invalid_json:
             msg = "Found invalid json format variables:\n"