aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
Diffstat (limited to 'worker')
-rw-r--r--worker/imap/worker.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go
index b1ef9c91..13411673 100644
--- a/worker/imap/worker.go
+++ b/worker/imap/worker.go
@@ -126,6 +126,7 @@ func (w *IMAPWorker) handleMessage(msg types.WorkerMessage) error {
default:
return fmt.Errorf("Unknown IMAP scheme %s", w.config.scheme)
}
+ c.ErrorLog = w.worker.Logger
if w.config.user != nil {
username := w.config.user.Username()