Add some more information to the error message when trying to run

multiple daemons
This commit is contained in:
Andrew Resch 2009-05-20 16:53:32 +00:00
parent 5f8a1ed971
commit 2741623e91
1 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,8 @@ def start_daemon():
Daemon(options, args)
except deluge.error.DaemonRunningError, e:
log.error(e)
log.error("You cannot run multiple daemons with the same config directory set.")
log.error("If you believe this is an error, you can force a start by deleting %s.", deluge.configmanager.get_config_dir("deluged.pid"))
sys.exit(1)
except Exception, e:
log.exception(e)