banshee r4101 - in trunk/banshee: . src/Libraries/Migo/Migo.Syndication



Author: gburt
Date: Tue Jun  3 23:48:45 2008
New Revision: 4101
URL: http://svn.gnome.org/viewvc/banshee?rev=4101&view=rev

Log:
2008-06-03  Gabriel Burt  <gabriel burt gmail com>

	* src/Libraries/Migo/Migo.Syndication/RssParser.cs: If a XML blob isn't
	valid XML, log the actual error so we have a hope of fixing or working
	around the problem.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Libraries/Migo/Migo.Syndication/RssParser.cs

Modified: trunk/banshee/src/Libraries/Migo/Migo.Syndication/RssParser.cs
==============================================================================
--- trunk/banshee/src/Libraries/Migo/Migo.Syndication/RssParser.cs	(original)
+++ trunk/banshee/src/Libraries/Migo/Migo.Syndication/RssParser.cs	Tue Jun  3 23:48:45 2008
@@ -44,7 +44,8 @@
             doc = new XmlDocument ();
             try {
                 doc.LoadXml (xml);
-            } catch (XmlException) {
+            } catch (XmlException e) {
+                Hyena.Log.Exception (e);
                 throw new FormatException ("Invalid XML document.");                                  
             }
             CheckRss ();



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