mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-10 10:28:39 +00:00
Fix logging exceptions in the daemon
This commit is contained in:
parent
df1fbb27d8
commit
a29118c6c3
2 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
Deluge 1.1.3 - (In Development)
|
Deluge 1.1.3 - (In Development)
|
||||||
Misc:
|
Misc:
|
||||||
* Fix issue when initializing gettext that would prevent deluge from starting
|
* 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)
|
Deluge 1.1.2 - (31 January 2009)
|
||||||
Core:
|
Core:
|
||||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue