From aa16916cdaa6325eebf099849f9f04b587275d3e Mon Sep 17 00:00:00 2001 From: zyxkad Date: Thu, 22 Feb 2024 15:50:41 -0700 Subject: [PATCH] remove debug log --- ghdb/ghdb.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/ghdb/ghdb.go b/ghdb/ghdb.go index 3943be4..cbba23a 100644 --- a/ghdb/ghdb.go +++ b/ghdb/ghdb.go @@ -79,7 +79,6 @@ func (db *ErrDB) checkUpdate() error { func (db *ErrDB) RefreshCache() (err error) { if db.cachedVersion == (versionData{}) { version := db.Cache.Get("version") - println("Unmarshaling version", version) json.Unmarshal(([]byte)(version), &db.cachedVersion) } newVersion, err := db.fetchGhDBVersion() @@ -151,7 +150,6 @@ func (db *ErrDB) GetErrorDesc(id int) (desc *mcla.ErrorDesc, err error) { return } desc = new(mcla.ErrorDesc) - println("Unmarshaling error", id, buf) if err = json.Unmarshal(([]byte)(buf), desc); err != nil { db.Cache.Remove(cacheKey) desc = nil @@ -208,7 +206,6 @@ func (db *ErrDB) GetSolution(id int) (sol *mcla.SolutionDesc, err error) { return } sol = new(mcla.SolutionDesc) - println("Unmarshaling solution", id, buf) if err = json.Unmarshal(([]byte)(buf), sol); err != nil { db.Cache.Remove(cacheKey) sol = nil