diff options
author | Christian Clauss <cclauss@me.com> | 2021-02-16 20:32:40 +0100 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2021-02-23 15:19:48 -0800 |
commit | 0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf (patch) | |
tree | fb3b243dd2b228df37bbe3b94a6c54fcbf21ff12 /fatcat_scholar/search.py | |
parent | 537659325664b47b01c24e82cb4a0e850cd129c0 (diff) | |
download | fatcat-scholar-0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf.tar.gz fatcat-scholar-0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf.zip |
Revert undesirable changes
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r-- | fatcat_scholar/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index 5b45ba9..be362b7 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -387,7 +387,7 @@ def do_fulltext_search( except elasticsearch.exceptions.TransportError as e: # all other errors logging.warn(f"elasticsearch non-200 status code: {e.info}") - raise OSError(str(e.info)) from e + raise IOError(str(e.info)) from e query_delta = datetime.datetime.now() - query_start # convert from API objects to dicts |