Closed gjost closed 1 year ago
Page reports that it's returning NotFoundError(404, '{"_index":"ddrentity","_type":"_doc","_id":"ddr-densho-201-36","found":false}') from here
NotFoundError(404, '{"_index":"ddrentity","_type":"_doc","_id":"ddr-densho-201-36","found":false}')
/opt/ddr-public/venv/ddrpublic/lib/python3.9/site-packages/elasticsearch/connection/base.py, line 328, in _raise_error additional_info = json.loads(raw_data) error_message = additional_info.get("error", error_message) if isinstance(error_message, dict) and "type" in error_message: error_message = error_message["type"] except (ValueError, TypeError) as err: logger.warning("Undecodable raw error response from server: %s", err) raise HTTP_EXCEPTIONS.get(status_code, TransportError)( … status_code, error_message, additional_info )
When the view code is already catching NotFoundErrors.
NotFoundError
Looks like the error is happening inside ui.models._object.
ui.models._object
Can't duplicate this error.
Page reports that it's returning
NotFoundError(404, '{"_index":"ddrentity","_type":"_doc","_id":"ddr-densho-201-36","found":false}')
from hereWhen the view code is already catching
NotFoundError
s.