Skip to content

Commit

Permalink
Delete useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlong committed Nov 21, 2024
1 parent 2f42ea7 commit dac405d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions ringcentral/http/api_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,6 @@ def error(self):
if self._request is not None:
message = message + ' (request details: ' + get_prepared_request_details(self._request) + ')'

# try:
# data = self.json_dict()

# if 'message' in data:
# message = data['message']
# elif 'error_description' in data:
# message = data['error_description']
# elif 'description' in data:
# message = data['description']

# except Exception as e:
# message = message + ' (and additional error happened during JSON parse: ' + e.message + ')'

return message

def request(self):
Expand Down

0 comments on commit dac405d

Please sign in to comment.