More Cleanup

This commit is contained in:
Qstick
2020-10-19 01:07:21 -04:00
parent d4e12aa276
commit ad04d0d261
550 changed files with 326 additions and 31626 deletions

View File

@@ -45,7 +45,7 @@ namespace NzbDrone.Common.EnvironmentInfo
}
catch (UnauthorizedAccessException)
{
throw new RadarrStartupException("Cannot create AppFolder, Access to the path {0} is denied", _appFolderInfo.AppDataFolder);
throw new ProwlarrStartupException("Cannot create AppFolder, Access to the path {0} is denied", _appFolderInfo.AppDataFolder);
}
if (OsInfo.IsWindows)
@@ -55,7 +55,7 @@ namespace NzbDrone.Common.EnvironmentInfo
if (!_diskProvider.FolderWritable(_appFolderInfo.AppDataFolder))
{
throw new RadarrStartupException("AppFolder {0} is not writable", _appFolderInfo.AppDataFolder);
throw new ProwlarrStartupException("AppFolder {0} is not writable", _appFolderInfo.AppDataFolder);
}
InitializeMonoApplicationData();
@@ -117,7 +117,7 @@ namespace NzbDrone.Common.EnvironmentInfo
catch (Exception ex)
{
_logger.Debug(ex, ex.Message);
throw new RadarrStartupException("Unable to migrate DB from nzbdrone.db to {0}. Migrate manually", _appFolderInfo.GetDatabase());
throw new ProwlarrStartupException("Unable to migrate DB from nzbdrone.db to {0}. Migrate manually", _appFolderInfo.GetDatabase());
}
}