Skip to content

Commit

Permalink
Merge branch 'ospd-openvas-20.08' into update_systemd_desc
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola committed Jan 25, 2021
2 parents 98794e1 + ad6a389 commit 4ee24fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Improve logging for unsatisfied vts dependencies. [#336](https://github.com/greenbone/ospd-openvas/pull/336)
- Do not use busy wait when waiting for the openvas scan process to finish. [#360](https://github.com/greenbone/ospd-openvas/pull/360)
- The description field of the systemd ospd-openvas.service file was updated. [#372](https://github.com/greenbone/ospd-openvas/pull/372)
- Improve logging for unexpected data in script_xref tags. [#374](https://github.com/greenbone/ospd-openvas/pull/374)

### Fixed
- Fix nvticache name when for stable version from sources. [#317](https://github.com/greenbone/ospd-openvas/pull/317)
Expand Down
5 changes: 3 additions & 2 deletions ospd_openvas/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,12 @@ def get_refs_vt_as_xml_str(vt_id: str, vt_refs: Dict) -> str:
for xref in value.split(', '):
try:
_type, _id = xref.split(':', 1)
except ValueError:
except ValueError as e:
logger.error(
'Not possible to parse xref %s for VT %s',
'Not possible to parse xref "%s" for VT %s: %s',
xref,
vt_id,
e,
)
continue
vt_ref.set('type', _type.lower())
Expand Down

0 comments on commit 4ee24fd

Please sign in to comment.