From 7781d72aa5b3992623e69b413a027615c0aa0fd6 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 27 Feb 2019 11:39:41 -0300 Subject: [PATCH] log faucet errors --- src/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 20ddff1..67c71c6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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