Skip to content

Commit

Permalink
Added additional debug log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmartinezramirez committed Oct 10, 2024
1 parent 47ce801 commit b47a777
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Snowflake.Data/Core/TomlConnectionBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public string GetConnectionStringFromToml(string connectionName = null)
{
var tomlPath = ResolveConnectionTomlFile();
var connectionToml = GetTomlTableFromConfig(tomlPath, connectionName);
s_logger.Debug($"Reading connection parameters from file using key: {connectionName} and path: {tomlPath}");
return connectionToml == null ? string.Empty : GetConnectionStringFromTomlTable(connectionToml);
}

Expand All @@ -72,8 +73,7 @@ private string GetConnectionStringFromTomlTable(TomlTable connectionToml)
connectionStringBuilder.Append($"{mappedProperty}={propertyValue};");
}

AppendTokenFromFileIfNotGivenExplicitly(connectionToml, isOauth, connectionStringBuilder, tokenFilePathValue);

AppendTokenFromFileIfNotGivenExplicitly(connectionToml, isOauth, connectionStringBuilder, tokenFilePathValue);");

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net7.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net6.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Linux (net8.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net481, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net7.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net48, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net462, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net6.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net7.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AWS)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AWS)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, GCP)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, GCP)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AZURE)

; expected

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AZURE)

Newline in constant

Check failure on line 76 in Snowflake.Data/Core/TomlConnectionBuilder.cs

View workflow job for this annotation

GitHub Actions / Tests on MAC (net8.0, AZURE)

; expected
return connectionStringBuilder.ToString();
}

Expand All @@ -85,6 +85,7 @@ private void AppendTokenFromFileIfNotGivenExplicitly(TomlTable connectionToml, b
return;
}

s_logger.Debug($"Reading token from file {tokenFilePathValue}");
var token = LoadTokenFromFile(tokenFilePathValue);
if (!string.IsNullOrEmpty(token))
{
Expand Down

0 comments on commit b47a777

Please sign in to comment.