Revert argument exception swallowing for Plex library update
This commit is contained in:
parent
c35308b32b
commit
ed140dd396
|
@ -101,8 +101,6 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
||||||
foreach (var section in sections)
|
foreach (var section in sections)
|
||||||
{
|
{
|
||||||
foreach (var location in section.Locations)
|
foreach (var location in section.Locations)
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
if (location.Path.PathEquals(rootFolderPath))
|
if (location.Path.PathEquals(rootFolderPath))
|
||||||
{
|
{
|
||||||
|
@ -112,11 +110,6 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (ArgumentException)
|
|
||||||
{
|
|
||||||
// Swallow argument exception that is thrown by path comparison when comparing paths from different OSes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Debug("Unable to find matching section location, updating all TV sections");
|
_logger.Debug("Unable to find matching section location, updating all TV sections");
|
||||||
|
|
Loading…
Reference in New Issue