From 55ec28100171afb3a3109f21a05e036d4258f021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 20 Jun 2024 17:03:09 +0200 Subject: [PATCH] Audit: Add debug messages --- github_app_geo_project/module/audit/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github_app_geo_project/module/audit/utils.py b/github_app_geo_project/module/audit/utils.py index 344ad30384a..07cac193b4d 100644 --- a/github_app_geo_project/module/audit/utils.py +++ b/github_app_geo_project/module/audit/utils.py @@ -305,6 +305,7 @@ async def _snyk_test( if not isinstance(test_json, list): test_json = [test_json] + _LOGGER.debug("Start parsing the vulnerabilities") high_vulnerabilities: dict[str, int] = {} fixable_vulnerabilities: dict[str, int] = {} fixable_vulnerabilities_summary: dict[str, str] = {} @@ -374,6 +375,7 @@ async def _snyk_test( ) _LOGGER.warning(message) result.append(message) + _LOGGER.debug("End parsing the vulnerabilities") return high_vulnerabilities, fixable_vulnerabilities, fixable_vulnerabilities_summary, fixable_files_npm