Proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]" was showing in console. Have replace [Object(object)] with `error.message`

This commit is contained in:
emizzle 2018-07-09 09:49:55 +10:00 committed by Iuri Matias
parent 2baa6ed792
commit f5f59bb24b
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,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) => {