Skip to content

Log exceptions when operating with token cache

Codecov / codecov/patch failed Dec 13, 2024 in 0s

85.40% of diff hit (target 86.32%)

View this Pull Request on Codecov

85.40% of diff hit (target 86.32%)

Annotations

Check warning on line 47 in Snowflake.Data/Client/SnowflakeCredentialManagerFactory.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Client/SnowflakeCredentialManagerFactory.cs#L46-L47

Added lines #L46 - L47 were not covered by tests

Check warning on line 56 in Snowflake.Data/Client/SnowflakeCredentialManagerFactory.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Client/SnowflakeCredentialManagerFactory.cs#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 263 in Snowflake.Data/Core/Authenticator/ExternalBrowserAuthenticator.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Authenticator/ExternalBrowserAuthenticator.cs#L263

Added line #L263 was not covered by tests

Check warning on line 78 in Snowflake.Data/Core/Authenticator/KeyPairAuthenticator.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Authenticator/KeyPairAuthenticator.cs#L78

Added line #L78 was not covered by tests

Check warning on line 25 in Snowflake.Data/Core/Authenticator/MFACacheAuthenticator.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Authenticator/MFACacheAuthenticator.cs#L23-L25

Added lines #L23 - L25 were not covered by tests

Check warning on line 113 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs#L110-L113

Added lines #L110 - L113 were not covered by tests

Check warning on line 142 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs#L139-L142

Added lines #L139 - L142 were not covered by tests

Check warning on line 162 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs#L160-L162

Added lines #L160 - L162 were not covered by tests

Check warning on line 177 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs#L174-L177

Added lines #L174 - L177 were not covered by tests

Check warning on line 242 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs#L239-L242

Added lines #L239 - L242 were not covered by tests

Check warning on line 263 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs#L263

Added line #L263 was not covered by tests

Check warning on line 265 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerFileImpl.cs#L265

Added line #L265 was not covered by tests

Check warning on line 37 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs#L34-L37

Added lines #L34 - L37 were not covered by tests

Check warning on line 69 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs#L66-L69

Added lines #L66 - L69 were not covered by tests

Check warning on line 105 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs#L102-L105

Added lines #L102 - L105 were not covered by tests

Check warning on line 150 in Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/CredentialManager/Infrastructure/SFCredentialManagerWindowsNativeImpl.cs#L149-L150

Added lines #L149 - L150 were not covered by tests

Check warning on line 136 in Snowflake.Data/Core/RestRequest.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/RestRequest.cs#L136

Added line #L136 was not covered by tests

Check warning on line 148 in Snowflake.Data/Core/Session/SFSession.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Session/SFSession.cs#L143-L148

Added lines #L143 - L148 were not covered by tests

Check warning on line 200 in Snowflake.Data/Core/Session/SessionPool.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Session/SessionPool.cs#L198-L200

Added lines #L198 - L200 were not covered by tests

Check warning on line 28 in Snowflake.Data/Core/Tools/FileOperations.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Tools/FileOperations.cs#L26-L28

Added lines #L26 - L28 were not covered by tests

Check warning on line 15 in Snowflake.Data/Core/Tools/StringUtils.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Tools/StringUtils.cs#L15

Added line #L15 was not covered by tests

Check warning on line 34 in Snowflake.Data/Core/Tools/UnixOperations.cs

See this annotation in the file changed.

@codecov codecov / codecov/patch

Snowflake.Data/Core/Tools/UnixOperations.cs#L31-L34

Added lines #L31 - L34 were not covered by tests