From 5488ae5b8947bf3035e2b6e8ee900e26ce79d27c Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 16 Oct 2014 13:45:42 +0200 Subject: [PATCH] Don't log inscrutable 'recovered: leveldb: not found' to web GUI --- internal/model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/model.go b/internal/model/model.go index a9cd6b151..f97b4e514 100644 --- a/internal/model/model.go +++ b/internal/model/model.go @@ -1300,7 +1300,7 @@ func (m *Model) leveldbPanicWorkaround() { if pnc := recover(); pnc != nil { if err, ok := pnc.(error); ok && strings.Contains(err.Error(), "leveldb") { - l.Warnln("recovered:", err) + l.Infoln("recovered:", err) } else { // Any non-leveldb error is genuine and should continue panicing. panic(err)