mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-22 10:09:14 +00:00
Fix logging exceptions in the daemon
This commit is contained in:
parent
fe98e1c11e
commit
c374e99cdd
1 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue