Skip to content

Commit

Permalink
Update error message on PR changes #3738 (#3741)
Browse files Browse the repository at this point in the history
* Change error message
  • Loading branch information
Ivan Golubev committed Feb 11, 2022
1 parent 90352aa commit ae67f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Agent.Sdk/Util/VssUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ private static bool CheckSupportOfCustomServerCertificateValidation(ITraceWriter
{
client.GetAsync(_testUri).GetAwaiter().GetResult();
}
catch (Exception)
catch (Exception e)
{
trace.Verbose("The current system doesn't support custom server certificate validation.");
trace.Verbose($"SSL diagnostic data collection is disabled, due to issue:\n{e.Message}");
return false;
}
return true;
Expand Down

0 comments on commit ae67f7c

Please sign in to comment.