Skip to content

Commit

Permalink
Audit: Don't raise an error on test error
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 15, 2024
1 parent 9f4d478 commit 659faee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions github_app_geo_project/module/audit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ async def _snyk_test(
"test-arguments", config.get("test-arguments", configuration.SNYK_TEST_ARGUMENTS_DEFAULT)
),
]
test_json_str, success = await _run_timeout(
test_json_str, _ = await _run_timeout(
command,
env_no_debug,
int(os.environ.get("GHCI_SNYK_TIMEOUT", "300")),
Expand All @@ -349,8 +349,6 @@ async def _snyk_test(
"Timeout while testing the project",
result,
)
if not success:
raise ValueError("Error while testing the project")

if test_json_str:
message = module_utils.HtmlMessage(utils.format_json_str(test_json_str))
Expand Down

0 comments on commit 659faee

Please sign in to comment.