Skip to content

Commit

Permalink
SNOW-926029: Check for stateConnecting when validating a connection
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-lf committed Oct 18, 2023
1 parent c015544 commit 2fec7ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/services/sf.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,9 @@ function SnowflakeService(connectionConfig, httpClient, config)
};

this.isConnected = function () {
return currentState === stateConnected || currentState === stateRenewing;
return currentState === stateConnected ||
currentState === stateConnecting ||
currentState === stateRenewing;
};

this.getServiceName = function ()
Expand Down

0 comments on commit 2fec7ab

Please sign in to comment.