Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/concepts/backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ gcloud projects list --format="json(projectId)"
compute.instances.setTags
compute.networks.get
compute.networks.updatePolicy
compute.projects.get
compute.regions.get
compute.regions.list
compute.reservations.list
Expand Down
4 changes: 2 additions & 2 deletions src/dstack/_internal/core/backends/gcp/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ def validate_credentials(credentials: Credentials, project_id: str):
client.get(project=project_id)
except google.api_core.exceptions.NotFound:
raise BackendAuthError(f"project_id {project_id} not found")
except Exception:
raise BackendAuthError("Insufficient permissions")
except Exception as e:
raise BackendAuthError(f"Insufficient permissions: {e}")
Loading