[banshee] SourceManager: add exception logging in OnExtensionChanged()



commit fb49f442f61430df96cc2e05ee8c850d4acc5342
Author: Tomasz Maczynski <tmtimon gmail com>
Date:   Fri Aug 9 11:42:43 2013 +0200

    SourceManager: add exception logging in OnExtensionChanged()
    
    Signed-off-by: Andrés G. Aragoneses <knocte gmail com>

 .../Banshee.Sources/SourceManager.cs               |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs 
b/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs
index bcb556d..cc67309 100644
--- a/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs
@@ -133,7 +133,9 @@ namespace Banshee.Sources
                             AddSource (source);
                         }
                         Log.DebugFormat ("Extension source loaded: {0}", source.Name);
-                    } catch {}
+                    } catch (Exception e) {
+                        Log.Exception (e);
+                    }
                 } else if (args.Change == ExtensionChange.Remove && extension_sources.ContainsKey (node.Id)) 
{
                     Source source = extension_sources[node.Id];
                     extension_sources.Remove (node.Id);


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