mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-19 22:58:30 +00:00
Fix logging exceptions in the daemon
This commit is contained in:
parent
fe98e1c11e
commit
c374e99cdd
@ -199,5 +199,9 @@ def start_daemon():
|
|||||||
sys.stderr = None
|
sys.stderr = None
|
||||||
sys.stdin = None
|
sys.stdin = None
|
||||||
|
|
||||||
from deluge.core.daemon import Daemon
|
try:
|
||||||
Daemon(options, args)
|
from deluge.core.daemon import Daemon
|
||||||
|
Daemon(options, args)
|
||||||
|
except Exception, e:
|
||||||
|
from deluge.log import LOG as log
|
||||||
|
log.exception(e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user