Skip to content

Commit

Permalink
Merge pull request #385 from camptocamp/fix
Browse files Browse the repository at this point in the history
Audit: Add debug messages
  • Loading branch information
sbrunner authored Jun 20, 2024
2 parents 7ce6d7b + 55ec281 commit e7504a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github_app_geo_project/module/audit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {}
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit e7504a4

Please sign in to comment.