diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-04-01 14:46:31 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-04-01 14:51:20 +0200 |
| commit | eb04a0d2c955f5fa9a721537c8202fc5c5959b19 (patch) | |
| tree | 4ec952bce5b1c475c2965599c9cc8dbcbcaeace4 /gnu | |
| parent | 7b2fe2824b42a3f693908cfd7630aa6ffd8a4efb (diff) | |
lint: cve: Catch HTTP GET errors.
Fixes a bug where ‘guix lint -c cve’ would crash when nvd.nist.gov
returns 503 or similar.
* guix/lint.scm (current-vulnerabilities*): Wrap
‘current-vulnerabilities’ call in ‘guard’ and return the empty list in
case of ‘http-get-error?’.
Change-Id: I76d5f22c260999154af7b73630f783555747aa7a
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions
