From ee6124427a918b4a6e098624271fb733ec474e98 Mon Sep 17 00:00:00 2001 From: emizzle Date: Mon, 9 Jul 2018 09:49:55 +1000 Subject: [PATCH] Proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]" was showing in console. Have replace [Object(object)] with `error.message` --- lib/core/proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/proxy.js b/lib/core/proxy.js index b6bfb955e..df12cd08c 100644 --- a/lib/core/proxy.js +++ b/lib/core/proxy.js @@ -68,7 +68,7 @@ exports.serve = function(ipc, host, port, ws){ }); proxy.on('error', function (e) { - console.error(__("Error forwarding requests to blockchain/simulator"), e); + console.error(__("Error forwarding requests to blockchain/simulator"), e.message); }); proxy.on('proxyRes', (proxyRes) => {