From 8d97683a28bdaa4cf170a78b5094d467f5f018ef Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 8 Jan 2019 20:26:07 -0800 Subject: partially revert raise_for_status() refactor Doesn't work with Flask wrapper, of course. --- python/fatcat_web/search.py | 1 - 1 file changed, 1 deletion(-) (limited to 'python/fatcat_web') 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) -- cgit v1.2.3