Skip to content

Commit

Permalink
v2.5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Oct 21, 2024
1 parent 45ab870 commit dc80122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phi/api/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def create_workspace_for_user(
)
if invalid_response(r):
try:
error_msg = r.json().get("detail", "Could not create workspace")
error_msg = r.json().get("detail", "Permission denied")
except Exception:
error_msg = f"Could not create workspace: {r.text}"
logger.error(error_msg)
Expand Down

0 comments on commit dc80122

Please sign in to comment.