Tell the user which UI was tried when unable to start

This commit is contained in:
Andrew Resch 2009-01-08 22:25:46 +00:00
parent 43be3e3e64
commit 3e92ff026a

View File

@ -62,5 +62,5 @@ class UI:
from deluge.ui.console.main import ConsoleUI
ui = ConsoleUI(ui_args).run()
except ImportError:
log.error("Unable to find the requested UI. Please select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.")
log.error("Unable to find the requested UI: %s. Please select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.", selected_ui)
sys.exit(0)