update xml parsing logging

This commit is contained in:
Luke Pulverenti 2016-04-20 00:30:06 -04:00
parent 9fa33fc220
commit ace1ad778e

View File

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