diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 20:26:07 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 20:26:09 -0800 |
commit | 8d97683a28bdaa4cf170a78b5094d467f5f018ef (patch) | |
tree | f48e9811a63bc48bbd96530c534ad7fb25283386 /python/fatcat_web/search.py | |
parent | 4e51c1b8fb78b4806e389263a22adb0a4a6b78bc (diff) | |
download | fatcat-8d97683a28bdaa4cf170a78b5094d467f5f018ef.tar.gz fatcat-8d97683a28bdaa4cf170a78b5094d467f5f018ef.zip |
partially revert raise_for_status() refactor
Doesn't work with Flask wrapper, of course.
Diffstat (limited to 'python/fatcat_web/search.py')
-rw-r--r-- | python/fatcat_web/search.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py index 5cebfde4..471e522a 100644 --- a/python/fatcat_web/search.py +++ b/python/fatcat_web/search.py @@ -36,7 +36,6 @@ def do_search(q, limit=50, fulltext_only=True): (app.config['ELASTICSEARCH_BACKEND'], app.config['ELASTICSEARCH_INDEX']), json=search_request) - #rv.raise_for_status() if resp.status_code != 200: print("elasticsearch non-200 status code: " + str(resp.status_code)) print(resp.content) |