aboutcode-org / aboutcode-org/vulnerablecode

Do not log to stdout minor issues

Offen
#1,477 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
702
Forks
328
Ø Merge
3 T. 8 Std.
Gemergte PRs (30 T.)
3

Beschreibung

`https://github.com/nexB/vulnerablecode/blob/4a6734b1bbaa8df6fd816f3eb4fd843a88c1ecec/vulnerabilities/import_runner.py#L246 logs these messages and these are not errors, not even warnings
We should selectively catch exceptions and filter this "already exists" log.
``
Invalid vulnerability reference: : {'url': ['Vulnerability reference with this Url already exists.']}
Invalid vulnerability reference: : {'url': ['Vulnerability reference with this Url already exists.']}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.