Skip to content

Commit

Permalink
Merge pull request #703 from spectacles-ci/joshtemple-patch-1
Browse files Browse the repository at this point in the history
Improve error message for unconfigured projects
  • Loading branch information
joshtemple authored Apr 11, 2023
2 parents 867d18a + 69b33ab commit bdd7123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spectacles/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ async 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 that your user "
"has the correct permissions and try again."
"Please check that the project exists, is configured, "
"and that your user has the correct permissions and try again."
),
response=response,
) from error
Expand Down

0 comments on commit bdd7123

Please sign in to comment.