diff --git a/spanner/google/cloud/spanner_v1/database.py b/spanner/google/cloud/spanner_v1/database.py index 8a94ad9fb6d7..dfdeda1d8a29 100644 --- a/spanner/google/cloud/spanner_v1/database.py +++ b/spanner/google/cloud/spanner_v1/database.py @@ -210,11 +210,7 @@ def create(self): ) except GaxError as exc: exception = exceptions.from_grpc_error(exc.cause) - if exception.grpc_status_code == StatusCode.ALREADY_EXISTS: - raise Conflict(self.name) - elif exception.grpc_status_code == StatusCode.NOT_FOUND: - raise exception.errors[0] - raise + raise exception return future def exists(self):