Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion gitops/utils/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ def get_app_details(
except FileNotFoundError as e:
msg, exc = "", Exception
if get_apps_directory().exists():
msg, exc = f"There's no app with the name '{app_name}', silly.", AppDoesNotExist
msg, exc = (
f"There's no app with the name '{app_name}', silly. is your cluster repo up to date?",
AppDoesNotExist,
)
else:
msg, exc = "Could not find an 'apps' directory. Are you in a cluster repo?", AppDirectoryDoesNotExist
if exit_if_not_found:
Expand Down
Loading