fix(release): fail closed on dashboard parse errors
This commit is contained in:
@@ -70,7 +70,7 @@ def collect_repository_snapshot(
|
||||
try:
|
||||
versions = collect_versions(path)
|
||||
except Exception as exc: # noqa: BLE001 - surfaced in the dashboard.
|
||||
errors.append(str(exc))
|
||||
errors.append(f"version metadata could not be read or parsed ({type(exc).__name__})")
|
||||
versions = VersionSnapshot()
|
||||
|
||||
return RepositorySnapshot(
|
||||
|
||||
Reference in New Issue
Block a user