mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Fix serverInfo undefined due to wrong connection URI set on connection. (#23884)
This commit is contained in:
@@ -682,8 +682,8 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
connection.options = connectionErrorHandleResult.options;
|
||||
}
|
||||
if (connectionErrorHandleResult.reconnect) {
|
||||
// Attempt reconnect if requested by provider
|
||||
return this.connectWithOptions(connection, uri, options, callbacks);
|
||||
// Attempt reconnect if requested by provider and reset URI to be regenerated.
|
||||
return this.connectWithOptions(connection, undefined, options, callbacks);
|
||||
} else {
|
||||
if (callbacks.onConnectCanceled) {
|
||||
callbacks.onConnectCanceled();
|
||||
|
||||
Reference in New Issue
Block a user