aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/eventhandlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/notmuch/eventhandlers.go')
-rw-r--r--worker/notmuch/eventhandlers.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/worker/notmuch/eventhandlers.go b/worker/notmuch/eventhandlers.go
index 996187fa..ca92d7eb 100644
--- a/worker/notmuch/eventhandlers.go
+++ b/worker/notmuch/eventhandlers.go
@@ -7,7 +7,6 @@ import (
"fmt"
"strconv"
- "git.sr.ht/~rjarry/aerc/log"
"git.sr.ht/~rjarry/aerc/worker/types"
)
@@ -24,7 +23,7 @@ func (w *worker) handleUpdateDirCounts() error {
if w.store != nil {
folders, err := w.store.FolderMap()
if err != nil {
- log.Errorf("failed listing directories: %v", err)
+ w.w.Errorf("failed listing directories: %v", err)
return err
}
for name := range folders {