[banshee] DBus: Add exception stack log when DBus failed to connect (bgo#636820)



commit cdb8fa67bb7704eea88172db31d329ab0e1652f6
Author: Olivier Dufour <olivier duff gmail com>
Date:   Sun Aug 21 09:44:14 2011 +0200

    DBus: Add exception stack log when DBus failed to connect (bgo#636820)
    
    A lot of user log show this message but without more details it is hard to
    found why DBus do not work properly.

 .../Banshee.ServiceStack/DBusConnection.cs         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.ServiceStack/DBusConnection.cs b/src/Core/Banshee.Services/Banshee.ServiceStack/DBusConnection.cs
index 5e1eaef..1a1912a 100644
--- a/src/Core/Banshee.Services/Banshee.ServiceStack/DBusConnection.cs
+++ b/src/Core/Banshee.Services/Banshee.ServiceStack/DBusConnection.cs
@@ -107,8 +107,8 @@ namespace Banshee.ServiceStack
                     active_connections.Add (serviceName);
                     return true;
                 }
-            } catch {
-                Log.Warning ("DBus support could not be started. Disabling for this session.");
+            } catch (Exception e) {
+                Log.Exception ("DBus support could not be started. Disabling for this session.", e);
                 enabled = false;
             }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]