diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | deluge/main.py | 8 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,7 @@ Deluge 1.1.3 - (In Development) Misc: * Fix issue when initializing gettext that would prevent deluge from starting + * Fix logging exceptions when starting the daemon Deluge 1.1.2 - (31 January 2009) Core: diff --git a/deluge/main.py b/deluge/main.py index 7cb504374..d52be12ff 100644 --- a/deluge/main.py +++ b/deluge/main.py @@ -199,5 +199,9 @@ def start_daemon(): sys.stderr = None sys.stdin = None - from deluge.core.daemon import Daemon - Daemon(options, args) + try: + from deluge.core.daemon import Daemon + Daemon(options, args) + except Exception, e: + from deluge.log import LOG as log + log.exception(e) |