From 05bb7d21396ac0c7efaaf7bf7fc07b37e47b8c3e Mon Sep 17 00:00:00 2001 From: Josh Temple <8672171+joshtemple@users.noreply.github.com> Date: Wed, 27 Apr 2022 15:56:45 -0400 Subject: [PATCH] Improve error message --- spectacles/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spectacles/client.py b/spectacles/client.py index 7c1a3dc1..cb88a892 100644 --- a/spectacles/client.py +++ b/spectacles/client.py @@ -373,7 +373,8 @@ def get_active_branch(self, project: str) -> JsonDict: status=response.status_code, detail=( f"Unable to get active branch for project '{project}'. " - "Please check that the project exists and try again." + "Please check that the project exists and that your user " + "has the correct permissions and try again." ), response=response, )