fix error message

pull/5343/head
yann300 3 weeks ago committed by Aniket
parent ee7b215f24
commit be1f1804fa
  1. 2
      apps/remix-ide/src/app/tabs/web3-provider.js

@ -86,7 +86,7 @@ export class Web3ProviderModule extends Plugin {
try {
resultFn(null, await provider.sendAsync(payload))
} catch (e) {
resultFn(e.error ? new Error(e.error) : new Error(e))
resultFn(e.error ? e.error : e)
}
} else {
reject(new Error('User denied permission'))

Loading…
Cancel
Save