Skip to content

Commit

Permalink
feat: Reverts to showing full error message to users
Browse files Browse the repository at this point in the history
  • Loading branch information
dpavam committed Oct 14, 2024
1 parent 0656140 commit d5a309f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions impc_api_helper/impc_api_helper/solr_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ def solr_request(core, params, silent=False, validate=False):
return num_found, df

else:
# print("Error:", response.status_code, response.text)
print("Error:", response.status_code)
print("Error:", response.status_code, response.text)


def _process_faceting(data, params):
Expand Down

0 comments on commit d5a309f

Please sign in to comment.