diff --git a/gitops/utils/apps.py b/gitops/utils/apps.py index 5de1ea1..3abf075 100644 --- a/gitops/utils/apps.py +++ b/gitops/utils/apps.py @@ -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: