Skip to content

Commit

Permalink
Limit the length of the JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 21, 2024
1 parent 243d264 commit 7c25322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_app_geo_project/module/audit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ async def _snyk_test(
result.append(message)

if test_json_str:
message = module_utils.HtmlMessage(utils.format_json_str(test_json_str))
message = module_utils.HtmlMessage(utils.format_json_str(test_json_str[:2000]))
message.title = "Snyk test JSON output"
_LOGGER.debug(message)
else:
Expand Down

0 comments on commit 7c25322

Please sign in to comment.