From 17f10c9ee510774ee5c50660921904074e01c551 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 7 Nov 2014 11:55:02 -0800 Subject: [PATCH] Added debug message for transmission version info --- .../Download/Clients/Transmission/Transmission.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs b/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs index ea52abe9d..08adef171 100644 --- a/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs +++ b/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs @@ -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))