vartestContent=string.Format("This file was created to verify if '{0}' is writable. It should've been automatically deleted. Feel free to delete it.",path);
vartestContent=$"This file was created to verify if '{path}' is writable. It should've been automatically deleted. Feel free to delete it.";
_logger.Error(ex,string.Format("Failed to properly rollback the file move [{0}] to [{1}], incomplete file may be left in target path.",sourcePath,targetPath));
_logger.Error(ex,"Failed to properly rollback the file move [{0}] to [{1}], incomplete file may be left in target path.",sourcePath,targetPath);
}
}
@ -368,7 +368,7 @@ namespace NzbDrone.Common.Disk
}
catch(Exceptionex)
{
_logger.Error(ex,string.Format("Failed to properly rollback the file move [{0}] to [{1}], file may be left in target path.",sourcePath,targetPath));
_logger.Error(ex,"Failed to properly rollback the file move [{0}] to [{1}], file may be left in target path.",sourcePath,targetPath);
}
}
@ -387,7 +387,7 @@ namespace NzbDrone.Common.Disk
}
catch(Exceptionex)
{
_logger.Error(ex,string.Format("Failed to properly rollback the file copy [{0}] to [{1}], file may be left in target path.",sourcePath,targetPath));
_logger.Error(ex,"Failed to properly rollback the file copy [{0}] to [{1}], file may be left in target path.",sourcePath,targetPath);
}
}
@ -429,7 +429,7 @@ namespace NzbDrone.Common.Disk
if(i==RetryCount)
{
_logger.Error("Failed to completely transfer [{0}] to [{1}], aborting.",sourcePath,targetPath, i+1,RetryCount);
_logger.Error("Failed to completely transfer [{0}] to [{1}], aborting.",sourcePath,targetPath);
DetailedDescription=string.Format("Please verify your username and password. Also verify if the host running Sonarr isn't blocked from accessing {0} by WhiteList limitations in the {0} configuration.",Name)
returnnewHealthCheck(GetType(),HealthCheckResult.Error,string.Format("Failed to resolve the IP Address for the Configured Proxy Host {0}",_configService.ProxyHostname));