Skip to content

Commit

Permalink
fix(down): Adding error handling to get_non_shared_remote_dependencies (
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard authored Dec 16, 2024
1 parent 2af25a6 commit e12cf85
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions devservices/commands/down.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,14 @@ def down(args: Namespace) -> None:
capture_exception(de)
status.failure(str(de))
exit(1)
remote_dependencies = get_non_shared_remote_dependencies(
service, remote_dependencies
)
try:
remote_dependencies = get_non_shared_remote_dependencies(
service, remote_dependencies
)
except DependencyError as de:
capture_exception(de)
status.failure(str(de))
exit(1)
try:
_down(service, remote_dependencies, list(mode_dependencies), status)
except DockerComposeError as dce:
Expand Down

0 comments on commit e12cf85

Please sign in to comment.