diff --git a/index.html b/index.html index 536838a..6f9e474 100644 --- a/index.html +++ b/index.html @@ -315,7 +315,10 @@ // EIP-1193 userRejectedRequest error notify('Please connect to MetaMask to continue', 'error') } else { - console.error(error); + if (error === 'MetaMask not installed') + notify('Please install MetaMask to continue', 'error') + else + notify(error, 'error') } }) if (typeof window.ethereum !== 'undefined') {