mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
This commit is contained in:
parent
2f6a13092f
commit
24ff756eeb
1 changed files with 6 additions and 1 deletions
|
@ -149,10 +149,15 @@ namespace NzbDrone.Core.MediaFiles.TrackImport
|
||||||
_logger.Warn(e, "Couldn't import track " + localTrack);
|
_logger.Warn(e, "Couldn't import track " + localTrack);
|
||||||
importResults.Add(new ImportResult(importDecision, "Failed to import track, Destination already exists."));
|
importResults.Add(new ImportResult(importDecision, "Failed to import track, Destination already exists."));
|
||||||
}
|
}
|
||||||
|
catch (UnauthorizedAccessException e)
|
||||||
|
{
|
||||||
|
_logger.Warn(e, "Couldn't import track " + localTrack);
|
||||||
|
importResults.Add(new ImportResult(importDecision, "Failed to import track, Permissions error"));
|
||||||
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
_logger.Warn(e, "Couldn't import track " + localTrack);
|
_logger.Warn(e, "Couldn't import track " + localTrack);
|
||||||
importResults.Add(new ImportResult(importDecision, "Failed to import episode"));
|
importResults.Add(new ImportResult(importDecision, "Failed to import track"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue