diff options
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 |