Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtemple committed Apr 27, 2022
1 parent 5f74725 commit 05bb7d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spectacles/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 05bb7d2

Please sign in to comment.