Skip to content

Commit

Permalink
SNOW-1652680: Change to warn on some secure storage usages
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dprzybysz committed Dec 5, 2024
1 parent e8fbca3 commit 645995a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public String getCredential(String host, String user, String type) {
return null;
}
if (dataLength[0] == 0 || data[0] == null) {
logger.debug("Found empty item or no item is found", false);
logger.warn("Found empty item or no item is found", false);
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private ObjectNode localCacheToJson() {
public synchronized SecureStorageStatus setCredential(
String host, String user, String type, String token) {
if (Strings.isNullOrEmpty(token)) {
logger.debug("No token provided", false);
logger.warn("No token provided", false);
return SecureStorageStatus.SUCCESS;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static SecureStorageWindowsManager builder() {

public SecureStorageStatus setCredential(String host, String user, String type, String token) {
if (Strings.isNullOrEmpty(token)) {
logger.debug("No token provided", false);
logger.warn("No token provided", false);
return SecureStorageStatus.SUCCESS;
}

Expand Down

0 comments on commit 645995a

Please sign in to comment.