mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Cleaner log entry if deluged missing
This commit is contained in:
parent
4a7876f203
commit
aa0f41ac17
1 changed files with 6 additions and 1 deletions
|
@ -665,7 +665,12 @@ class Client(object):
|
|||
else:
|
||||
subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config])
|
||||
except OSError, e:
|
||||
log.exception(e)
|
||||
from errno import ENOENT
|
||||
if e.errno == ENOENT:
|
||||
log.error(_("Deluge cannot find the 'deluged' executable, it is likely \
|
||||
that you forgot to install the deluged package or it's not in your PATH."))
|
||||
else:
|
||||
log.exception(e)
|
||||
raise e
|
||||
except Exception, e:
|
||||
log.error("Unable to start daemon!")
|
||||
|
|
Loading…
Add table
Reference in a new issue