update xml parsing logging

This commit is contained in:
Luke Pulverenti 2016-04-20 00:30:06 -04:00
parent 316d8d3125
commit 389046fb3f

View File

@ -61,17 +61,8 @@ namespace MediaBrowser.Controller.Providers
}; };
//Fetch(item, metadataFile, settings, Encoding.GetEncoding("ISO-8859-1"), cancellationToken); //Fetch(item, metadataFile, settings, Encoding.GetEncoding("ISO-8859-1"), cancellationToken);
try
{
Fetch(item, metadataFile, settings, Encoding.UTF8, cancellationToken); Fetch(item, metadataFile, settings, Encoding.UTF8, cancellationToken);
} }
catch
{
Logger.Error("Error parsing xml file {0}", metadataFile);
throw;
}
}
/// <summary> /// <summary>
/// Fetches the specified item. /// Fetches the specified item.