Skip to content

Commit 0d452e7

Browse files
committed
[pipeline/lock] Raise any ValueError/FileNotFoundError exceptions at resolution
1 parent c03c6b8 commit 0d452e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocebuild/pipeline/lock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,9 @@ def resolve_specifiers(build_config: dict,
413413
# Format the resolution
414414
resolver_props['resolution'] = _format_resolver(resolver, base_path)
415415
except ValueError:
416-
continue #TODO: Add warning
416+
raise
417417
except FileNotFoundError:
418-
continue #TODO: Add warning
418+
raise
419419
else:
420420
# Check if the resolution is already in the lockfile
421421
if force and lockfile_entry:

0 commit comments

Comments
 (0)