Skip to content

Commit

Permalink
Handle broken exegol installation without build profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac committed Apr 12, 2024
1 parent 304b8ac commit 76454da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exegol/manager/UpdateManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ def __buildSource(cls, build_name: Optional[str] = None) -> str:

# Choose dockerfile
profiles = cls.listBuildProfiles(profiles_path=build_path)
if len(profiles) == 0:
logger.critical(f"No build profile found in {build_path}. Check your exegol installation, it seems to be broken...")
build_profile: Optional[str] = ParametersManager().build_profile
build_dockerfile: Optional[str] = None
if build_profile is not None:
Expand Down

0 comments on commit 76454da

Please sign in to comment.