]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
session: Also log dbus connection exceptions
authorAlessandro Astone <ales.astone@gmail.com>
Sat, 21 Jan 2023 23:11:01 +0000 (00:11 +0100)
committerAlessandro Astone <ales.astone@gmail.com>
Sat, 21 Jan 2023 23:11:08 +0000 (00:11 +0100)
tools/actions/session_manager.py

index a2e7739f93c7ca26bbb33d92ee985b432e2f75dc..6709e14f1c174761c73b91c5a543ea2f99529635 100644 (file)
@@ -87,8 +87,8 @@ def start(args, unlocked_cb=None):
     try:
         tools.helpers.ipc.DBusContainerService().Start(session)
     except dbus.DBusException as e:
+        logging.debug(e)
         if e.get_dbus_name().startswith("org.freedesktop.DBus.Python"):
-            logging.debug(e)
             logging.error(e.get_dbus_message().splitlines()[-1])
         else:
             logging.error("WayDroid container is not listening")