1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

log faucet errors

This commit is contained in:
Matthias Kretschmann 2019-02-27 11:39:41 -03:00
parent 2d5379f5b2
commit 7781d72aa5
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,6 +1,7 @@
import React, { Component } from 'react'
import Web3 from 'web3'
import { BrowserRouter as Router } from 'react-router-dom'
import { Logger } from '@oceanprotocol/squid'
import Header from './components/Header'
import Footer from './components/Footer'
import Spinner from './components/atoms/Spinner'
@ -62,7 +63,7 @@ class App extends Component<{}, AppState> {
}
)
} catch (error) {
// show error
Logger.log(error)
}
} else {
// no account found