Skip to content

Commit

Permalink
Update error descriptions from feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
  • Loading branch information
AyanSinhaMahapatra committed Nov 12, 2024
1 parent a50352c commit 649b763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scanpipe/pipes/purldb.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ def get_unique_unresolved_purls(project):
vers = range_class.from_native(extracted_requirement)
except (InvalidVersionRange, InvalidVersion) as exception:
if exception is InvalidVersionRange:
description = "Invalid VersionRange"
description = "Version range is invalid or unsupported"
else:
description = "Invalid exctracted requirement"
description = "Extracted requirement is not a valid version"
details = {
"purl": purl,
"extracted_requirement": extracted_requirement,
Expand Down

0 comments on commit 649b763

Please sign in to comment.