Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
fix(analytics): handle valueerror exception on requirements.txt parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
aexvir committed Mar 12, 2021
1 parent 88ae335 commit 9051109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zoo/analytics/tasks/requirements_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _get_packages(req_file_path, repository, path, for_production):
requirement.name, lib_version, for_production, health_status
)

except RequirementParseError:
except (RequirementParseError, ValueError):
log.exception("analytics.requirements_py.analyze.error")
return

Expand Down

0 comments on commit 9051109

Please sign in to comment.