mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 23:18:40 +00:00
Cleaner log entry if deluged missing
This commit is contained in:
parent
30c142ac4d
commit
eb6959fb98
1 changed files with 6 additions and 1 deletions
|
@ -585,6 +585,11 @@ class Client(object):
|
||||||
else:
|
else:
|
||||||
subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config])
|
subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config])
|
||||||
except OSError, e:
|
except OSError, 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)
|
log.exception(e)
|
||||||
raise e
|
raise e
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue