Skip to content

Commit

Permalink
Only display one report error
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 23, 2024
1 parent 605e51e commit 1fa35e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repologyapp/views/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def project_report(name: str) -> Response:
need_merge=need_merge,
need_vuln=need_vuln,
comment=comment,
messages=[('danger', f'Could not add report: {error}') for error in errors]
messages=[('danger', f'Could not add report: {error}') for error in errors[:1]]
)


Expand Down

0 comments on commit 1fa35e7

Please sign in to comment.