diff --git a/src/api/transports/http.js b/src/api/transports/http.js index 0093d6e306cae7c0669c52a07b2904c6c3c603b2..dad9ecf8f46914d397cd3f02ee4116cbdf9de4ce 100644 --- a/src/api/transports/http.js +++ b/src/api/transports/http.js @@ -46,6 +46,12 @@ export function jsonRpc(uri, {method, id, params, fetchMethod=fetch}) { throw new Error(`Invalid response id: ${ rpcRes.id }`); } if (rpcRes.error) { + if (rpcRes.error.data.toString().includes('does not exist')) + { + //hivemind returns an error when tags aren't found, but it's not really an error + //because the http return code was ok, so just return an empty response instead + return ""; + } throw new RPCError(rpcRes.error); } return rpcRes.result