Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
add headers to err
Browse files Browse the repository at this point in the history
  • Loading branch information
yz01063552 committed Dec 16, 2021
1 parent ab7b463 commit e779065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ func (client *Client) DoRequest(action *string, protocol *string, method *string
"statusCode": tea.IntValue(response_.StatusCode),
"message": "code: " + tea.ToString(tea.IntValue(response_.StatusCode)) + ", " + tea.ToString(DefaultAny(res["Message"], res["message"])) + " request id: " + tea.ToString(DefaultAny(res["RequestId"], res["requestId"])),
"data": res,
"_headers": response_.Headers,
})
return _result, _err
}
Expand Down

0 comments on commit e779065

Please sign in to comment.