Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 1632f7b

Browse files
1 parent 18a4503 commit 1632f7b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

google/cloud/spanner_v1/database.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,10 @@ def _call_api_with_request_id(api_callable, request, metadata):
20332033
except GoogleAPICallError as e:
20342034
request_id = dict(metadata).get("x-goog-spanner-request-id")
20352035
raise SpannerException(
2036-
message=e.message, errors=e.errors, response=e.response, request_id=request_id
2036+
message=e.message,
2037+
errors=e.errors,
2038+
response=e.response,
2039+
request_id=request_id,
20372040
) from e
20382041

20392042

0 commit comments

Comments
 (0)