aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
Diffstat (limited to 'worker')
-rw-r--r--worker/jmap/push.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/worker/jmap/push.go b/worker/jmap/push.go
index 34a90ca4..2f7b05e6 100644
--- a/worker/jmap/push.go
+++ b/worker/jmap/push.go
@@ -16,6 +16,8 @@ import (
)
func (w *JMAPWorker) monitorChanges() {
+ defer log.PanicHandler()
+
events := push.EventSource{
Client: w.client,
Handler: w.handleChange,