diff --git a/js/modules/loki_rpc.js b/js/modules/loki_rpc.js index 9e7f598c9..2579d27f0 100644 --- a/js/modules/loki_rpc.js +++ b/js/modules/loki_rpc.js @@ -88,7 +88,7 @@ const sendToProxy = async (options = {}, targetNode) => { jsonRes.json = () => { try { return JSON.parse(jsonRes.body); - } catch(e) { + } catch (e) { log.error( 'lokiRpc sendToProxy error', e.code, @@ -98,7 +98,7 @@ const sendToProxy = async (options = {}, targetNode) => { ); } return false; - } + }; return jsonRes; } catch (e) { log.error(