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,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>