From c08bb7ce4474b904351107e49ee6df199aa68b6f Mon Sep 17 00:00:00 2001 From: d11e9 Date: Tue, 6 Oct 2015 18:25:05 +0100 Subject: [PATCH] render error on getAddress request fail --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 570eb7fca7..f09c48c031 100644 --- a/index.html +++ b/index.html @@ -519,6 +519,7 @@ THE SOFTWARE. if (executionContext === 'vm') $('#txorigin').text('0x' + dapp.address.toString('hex')); else web3.eth.getAccounts( function(err,accounts) { + if (err) renderError(err.message); $('#txorigin').text(accounts[0]); });