We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0d9502 + e0f93b4 commit 2c2a5a6Copy full SHA for 2c2a5a6
1 file changed
gitops/utils/apps.py
@@ -38,7 +38,10 @@ def get_app_details(
38
except FileNotFoundError as e:
39
msg, exc = "", Exception
40
if get_apps_directory().exists():
41
- msg, exc = f"There's no app with the name '{app_name}', silly.", AppDoesNotExist
+ msg, exc = (
42
+ f"There's no app with the name '{app_name}', silly. is your cluster repo up to date?",
43
+ AppDoesNotExist,
44
+ )
45
else:
46
msg, exc = "Could not find an 'apps' directory. Are you in a cluster repo?", AppDirectoryDoesNotExist
47
if exit_if_not_found:
0 commit comments