diff options
Diffstat (limited to 'worker')
-rw-r--r-- | worker/notmuch/worker.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index 2a11c1df..bedc83c6 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -266,8 +266,9 @@ func (w *worker) handleConnect(msg *types.Connect) error { // changes, so catching multiple is ok dbPath := path.Join(w.db.Path(), ".notmuch", "xapian") err := w.watcher.Configure(dbPath) + log.Tracef("Configuring watcher for path: %v", dbPath) if err != nil { - return err + return fmt.Errorf("error configuring watcher: %w", err) } return nil } |