summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kolabd/process.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/kolabd/process.py b/kolabd/process.py
index 9fe525d..ddaac63 100644
--- a/kolabd/process.py
+++ b/kolabd/process.py
@@ -37,6 +37,10 @@ class KolabdProcess(multiprocessing.Process):
)
def synchronize(self, domain):
- auth = Auth(domain)
- auth.connect(domain)
- auth.synchronize()
+ try:
+ auth = Auth(domain)
+ auth.connect(domain)
+ auth.synchronize()
+ except:
+ log.error(_("Error in process %r, terminating") % (self.name))
+ return \ No newline at end of file