From 04dc5b44512cf6575c47c0102e8977a677cf5f74 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 21 Oct 2021 11:31:19 -0700 Subject: [PATCH] Remove not useful, unhelpful and scary error --- controllers/admin/index.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/controllers/admin/index.go b/controllers/admin/index.go index 70cbb7bf9..c34525a69 100644 --- a/controllers/admin/index.go +++ b/controllers/admin/index.go @@ -30,8 +30,6 @@ func ServeAdmin(w http.ResponseWriter, r *http.Request) { path = filepath.Join(path, "index.html") } else if _, err := fs.Stat(adminFiles, path+"index.html"); err == nil { path = filepath.Join(path, "index.html") - } else if err != nil { - log.Errorln(err) } f, err := adminFiles.Open(path)