]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
session: Dump the full exception to log file when failed to start
authorAlessandro Astone <ales.astone@gmail.com>
Fri, 20 Jan 2023 00:23:31 +0000 (01:23 +0100)
committerAlessandro Astone <ales.astone@gmail.com>
Fri, 20 Jan 2023 00:23:31 +0000 (01:23 +0100)
tools/actions/session_manager.py

index 242125622530cef06366941ae93bb69aa0e78d1a..a2e7739f93c7ca26bbb33d92ee985b432e2f75dc 100644 (file)
@@ -88,6 +88,7 @@ def start(args, unlocked_cb=None):
         tools.helpers.ipc.DBusContainerService().Start(session)
     except dbus.DBusException as e:
         if e.get_dbus_name().startswith("org.freedesktop.DBus.Python"):
         tools.helpers.ipc.DBusContainerService().Start(session)
     except dbus.DBusException as 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")
             logging.error(e.get_dbus_message().splitlines()[-1])
         else:
             logging.error("WayDroid container is not listening")