From 48648bc2f8396984a775ead38ead77155c291f67 Mon Sep 17 00:00:00 2001 From: Zsolt Felfoldi Date: Sun, 17 Dec 2017 22:40:39 +0100 Subject: contracts/release: do not print error log if les backend has no peers --- contracts/release/release.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contracts') diff --git a/contracts/release/release.go b/contracts/release/release.go index 28a35381d..4442ce3e0 100644 --- a/contracts/release/release.go +++ b/contracts/release/release.go @@ -137,7 +137,7 @@ func (r *ReleaseService) checkVersion() { if err != nil { if err == bind.ErrNoCode { log.Debug("Release oracle not found", "contract", r.config.Oracle) - } else { + } else if err != les.ErrNoPeers { log.Error("Failed to retrieve current release", "err", err) } return -- cgit