mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Added debug message for transmission version info
This commit is contained in:
parent
764ce3507c
commit
17f10c9ee5
@ -184,9 +184,11 @@ private ValidationFailure TestConnection()
|
||||
{
|
||||
try
|
||||
{
|
||||
var versionResult =
|
||||
Regex.Replace(_proxy.GetVersion(Settings), @"\([^)]*\)", "",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Multiline).Trim();
|
||||
var versionString = _proxy.GetVersion(Settings);
|
||||
|
||||
_logger.Debug("Transmission version information: {0}", versionString);
|
||||
|
||||
var versionResult = Regex.Replace(versionString, @"\([^)]*\)", "", RegexOptions.IgnoreCase | RegexOptions.Multiline).Trim();
|
||||
var version = Version.Parse(versionResult);
|
||||
|
||||
if (version < new Version(2, 40))
|
||||
|
Loading…
Reference in New Issue
Block a user