We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84ab09d + c437094 commit 4be16f3Copy full SHA for 4be16f3
qcloud_cos/cos_exception.py
@@ -90,10 +90,10 @@ def get_resource_location(self):
90
91
def get_trace_id(self):
92
if isinstance(self._digest_msg, dict):
93
- return self._digest_msg['requestid']
+ return self._digest_msg['traceid']
94
return "Unknown"
95
96
def get_request_id(self):
97
98
- return self._digest_msg['traceid']
+ return self._digest_msg['requestid']
99
0 commit comments