summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kolabd/process.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/kolabd/process.py b/kolabd/process.py
index ddaac63..c936fdc 100644
--- a/kolabd/process.py
+++ b/kolabd/process.py
@@ -41,6 +41,8 @@ class KolabdProcess(multiprocessing.Process):
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
+ except Exception, errmsg:
+ log.error(_("Error in process %r, terminating:\n\t%r") % (self.name, errmsg))
+ import traceback
+ traceback.print_exc()
+ return