Errors in axios requests to the SRI resolver are caught and re-thrown with the addition of SRI resolver failed: to the beginning of the error message, to make it clear where the error occurred.
This is somewhat of a bandaid solution as we may wish to better handle errors from ID resolution.
(addresses biothings/BioThings_Explorer_TRAPI/issues/382)
Errors in axios requests to the SRI resolver are caught and re-thrown with the addition of
SRI resolver failed:
to the beginning of the error message, to make it clear where the error occurred.This is somewhat of a bandaid solution as we may wish to better handle errors from ID resolution.