Skip to content

Commit

Permalink
Rename attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
piby180 committed Jul 4, 2024
1 parent 4e81b23 commit 8c7c76a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pinotdb/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,13 @@ def normalize_query_response(self, input_query, query_response):
try:
payload = query_response.json()
self.raw_query_response = {
"response" : payload,
"response_status" : query_response.status_code
"response" : payload,
"status_code" : query_response.status_code
}
except Exception as e:
self.raw_query_response = {
"response" : query_response.text,
"response_status" : query_response.status_code
"response" : query_response.text,
"status_code" : query_response.status_code
}
raise exceptions.DatabaseError(
f"Error when querying {input_query} from {self.url}, "
Expand Down

0 comments on commit 8c7c76a

Please sign in to comment.