From ca45765c46de3b00c3b22936c885b57c37186e3d Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 11 Nov 2018 11:40:40 -0800 Subject: Improve logging messages in ui package --- ui/entry_search.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'ui/entry_search.go') diff --git a/ui/entry_search.go b/ui/entry_search.go index 252b306..d995533 100644 --- a/ui/entry_search.go +++ b/ui/entry_search.go @@ -10,7 +10,6 @@ import ( "miniflux.app/http/request" "miniflux.app/http/response/html" "miniflux.app/http/route" - "miniflux.app/logger" "miniflux.app/model" "miniflux.app/storage" "miniflux.app/ui/session" @@ -45,7 +44,6 @@ func (h *handler) showSearchEntryPage(w http.ResponseWriter, r *http.Request) { if entry.Status == model.EntryStatusUnread { err = h.store.SetEntriesStatus(user.ID, []int64{entry.ID}, model.EntryStatusRead) if err != nil { - logger.Error("[Controller:ShowSearchEntry] %v", err) html.ServerError(w, r, err) return } -- cgit v1.2.3