returnnewNzbDroneValidationFailure(propertyName,"Folder does not exist")
{
DetailedDescription="The folder you specified does not exist or is inaccessible. Please verify the folder permissions for the user account that is used to execute NzbDrone."
DetailedDescription=string.Format("The folder you specified does not exist or is inaccessible. Please verify the folder permissions for the user account '{0}', which is used to execute Sonarr.",Environment.UserName)
_logger.Error("Folder '{0}' is not writable.",folder);
returnnewNzbDroneValidationFailure(propertyName,"Unable to write to folder")
{
DetailedDescription="The folder you specified is not writable. Please verify the folder permissions for the user account that is used to execute NzbDrone."
DetailedDescription=string.Format("The folder you specified is not writable. Please verify the folder permissions for the user account '{0}', which is used to execute Sonarr.",Environment.UserName)
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"Unable to update, running from write-protected folder");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,string.Format("Cannot install update because startup folder '{0}' is not writable by the user '{1}'.",_appFolderInfo.StartUpFolder,Environment.UserName));
thrownewApplicationException(string.Format("Cannot install update because startup folder '{0}' is not writable by the user '{1}'.",_appFolderInfo.StartUpFolder,Environment.UserName));