fix: replace bare except with except Exception in prowler-wrapper (#10499)

This commit is contained in:
harshadkhetpal
2026-04-14 08:11:53 +02:00
committed by GitHub
parent b65265da4b
commit 0123e603d8
+1 -1
View File
@@ -220,7 +220,7 @@ def _send_prowler_results(prowler_results, _prowler_version, options):
try:
_debug("RESULT MSG --- {0}".format(_check_result), 2)
_check_result = json.loads(TEMPLATE_CHECK.format(_check_result))
except:
except Exception:
_debug(
"INVALID JSON --- {0}".format(TEMPLATE_CHECK.format(_check_result)), 1
)