X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/e87b848b9b2acaa4952eb92e339e575d25281d3a..eabe5d6c3b31360a33621284f2dcc98e9d03b81d:/tools/actions/session_manager.py diff --git a/tools/actions/session_manager.py b/tools/actions/session_manager.py index cfcd267..abb4f35 100644 --- a/tools/actions/session_manager.py +++ b/tools/actions/session_manager.py @@ -69,11 +69,13 @@ def start(args, unlocked_cb=None): GLib.unix_signal_add(GLib.PRIORITY_HIGH, signal.SIGUSR1, sigusr_handler, None) try: tools.helpers.ipc.DBusContainerService().Start(session) - except dbus.DBusException: - logging.error("WayDroid container is not listening") + except dbus.DBusException as e: + if e.get_dbus_name().startswith("org.freedesktop.DBus.Python"): + logging.error(e.get_dbus_message().splitlines()[-1]) + else: + logging.error("WayDroid container is not listening") sys.exit(0) - services.user_manager.start(args, session, unlocked_cb) services.clipboard_manager.start(args) service(args, mainloop)