pull/823/head
Ryan Tharp 6 years ago
parent 2b53146362
commit 3ebb308175

@ -88,7 +88,7 @@ const sendToProxy = async (options = {}, targetNode) => {
jsonRes.json = () => { jsonRes.json = () => {
try { try {
return JSON.parse(jsonRes.body); return JSON.parse(jsonRes.body);
} catch(e) { } catch (e) {
log.error( log.error(
'lokiRpc sendToProxy error', 'lokiRpc sendToProxy error',
e.code, e.code,
@ -98,7 +98,7 @@ const sendToProxy = async (options = {}, targetNode) => {
); );
} }
return false; return false;
} };
return jsonRes; return jsonRes;
} catch (e) { } catch (e) {
log.error( log.error(

Loading…
Cancel
Save