aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b1ef9c9..1341167 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()