mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 14:02:55 +00:00
An attempt 3
This commit is contained in:
@@ -523,7 +523,7 @@ class NeonProject:
|
||||
self, self.neon_api.get_branch_details(self.id, new_branch_def["branch"]["id"])
|
||||
)
|
||||
if new_branch.connection_parameters is None:
|
||||
raise RuntimeError(f"Neon branch {new_branch.id} does not have connection parameters")
|
||||
raise RuntimeError(f"Neon branch {new_branch.id} does not have connection parameters {new_branch.endpoints}")
|
||||
with psycopg2.connect(
|
||||
host=new_branch.connection_parameters["host"],
|
||||
port=5432,
|
||||
|
||||
Reference in New Issue
Block a user