From 8d271d0a7c9c78e22832b8c18ed16530a681a1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurk=C3=B3=20Mih=C3=A1ly?= Date: Tue, 2 Apr 2019 13:28:29 +0300 Subject: [PATCH] console: remove log --- console/console.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/console/console.go b/console/console.go index c4b214af91..eddbac8e4d 100644 --- a/console/console.go +++ b/console/console.go @@ -18,7 +18,6 @@ package console import ( "fmt" - "github.com/ethereum/go-ethereum/log" "io" "io/ioutil" "os" @@ -283,9 +282,7 @@ func (c *Console) Welcome() { `console.log("at block: " + eth.blockNumber + " (" + new Date(1000 * eth.getBlock(eth.blockNumber).timestamp) + ")");`, `console.log("datadir: " + admin.datadir);`, } { - if _, err := c.jsre.Run(command); err != nil { - log.Error("Geth JavaScript console error", "err", err) - } + c.jsre.Run(command) } // List all the supported modules for the user to call if apis, err := c.client.SupportedModules(); err == nil {