pull/4086/head
filip mertens 1 year ago committed by Aniket
parent 7d0cc3be04
commit dcefcc338d
  1. 2
      apps/remix-ide/src/app/providers/injected-provider.tsx

@ -105,7 +105,7 @@ export abstract class InjectedProvider extends Plugin implements IProvider {
resolve({jsonrpc: '2.0', error: 'no return data provided', id: data.id})
}
} catch (error) {
if (error.data.originalError && error.data.originalError.data) {
if (error.data && error.data.originalError && error.data.originalError.data) {
resolve({
jsonrpc: '2.0',
error: error.data.originalError.message,

Loading…
Cancel
Save