Revert argument exception swallowing for Plex library update
This commit is contained in:
parent
c35308b32b
commit
ed140dd396
|
@ -102,19 +102,12 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
||||||
{
|
{
|
||||||
foreach (var location in section.Locations)
|
foreach (var location in section.Locations)
|
||||||
{
|
{
|
||||||
try
|
if (location.Path.PathEquals(rootFolderPath))
|
||||||
{
|
{
|
||||||
if (location.Path.PathEquals(rootFolderPath))
|
_logger.Debug("Updating matching section location, {0}", location.Path);
|
||||||
{
|
UpdateSectionPath(seriesRelativePath, section, location, settings);
|
||||||
_logger.Debug("Updating matching section location, {0}", location.Path);
|
|
||||||
UpdateSectionPath(seriesRelativePath, section, location, settings);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (ArgumentException)
|
|
||||||
{
|
|
||||||
// Swallow argument exception that is thrown by path comparison when comparing paths from different OSes
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue