diff --git a/src/logic/wallets/getWeb3.js b/src/logic/wallets/getWeb3.js index 17dc6e23..92543002 100644 --- a/src/logic/wallets/getWeb3.js +++ b/src/logic/wallets/getWeb3.js @@ -79,7 +79,7 @@ export const getProviderInfo: Function = async (): Promise => { try { const accounts = await web3Provider.enable() if (!accounts) { - console.error('Empty web3 provider') + throw new Error() } } catch (error) { console.error('Error when enabling web3 provider', error)