Add additional logging to spark command failures (#12706)

This commit is contained in:
Charles Gagnon
2020-10-01 17:13:20 -07:00
committed by GitHub
parent b574f2aa32
commit 1df74e8c4a
2 changed files with 21 additions and 7 deletions

View File

@@ -229,7 +229,7 @@ export class MssqlObjectExplorerNodeProvider extends ProviderBase implements azd
return node;
}
public findSqlClusterSessionBySqlConnProfile(connectionProfile: azdata.IConnectionProfile): SqlClusterSession {
public findSqlClusterSessionBySqlConnProfile(connectionProfile: azdata.IConnectionProfile): SqlClusterSession | undefined {
for (let session of this.clusterSessionMap.values()) {
if (session.isMatchedSqlConnection(connectionProfile)) {
return session;