aboutcode-org / aboutcode-org/vulnerablecode

Do not log to stdout minor issues

Open
#1,477 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

`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.']}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.