Skip to content

Commit 9dc9696

Browse files
authored
Apply suggestion from @simorenoh
1 parent 858ff05 commit 9dc9696

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/cosmos/azure-cosmos/azure/cosmos/_cosmos_client_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3628,7 +3628,7 @@ def _checkpoint_and_reraise(error: Exception) -> NoReturn:
36283628
self._UpdateSessionIfRequired(req_headers, backend_query_result, backend_response_headers)
36293629
if response_headers is not None:
36303630
response_headers.clear()
3631-
response_headers.update(last_response_headers)
3631+
response_headers.update(backend_response_headers)
36323632

36333633
# Merge results, falling back to a plain extend if the
36343634
# aggregating merge raises (it can on aggregated queries

0 commit comments

Comments
 (0)