We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cc667 commit ccb61acCopy full SHA for ccb61ac
src/tools/atlas/connect/connectCluster.ts
@@ -57,19 +57,6 @@ export class ConnectClusterTool extends AtlasToolBase {
57
"atlas-connect-cluster",
58
`error querying cluster: ${error.message}`
59
);
60
-
61
- // sometimes the error can be "error querying cluster: bad auth : Authentication failed."
62
- // which just means it's still propagating permissions to the cluster
63
- // in that case, we want to classify this as connecting.
64
- if (error.message.includes("Authentication failed")) {
65
- logger.debug(
66
- LogId.atlasConnectFailure,
67
- "atlas-connect-cluster",
68
- `assuming connecting to cluster: ${this.session.connectedAtlasCluster?.clusterName}`
69
- );
70
- return "connecting";
71
- }
72
73
return "unknown";
74
}
75
0 commit comments