mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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;
|
connection.options = connectionErrorHandleResult.options;
|
||||||
}
|
}
|
||||||
if (connectionErrorHandleResult.reconnect) {
|
if (connectionErrorHandleResult.reconnect) {
|
||||||
// Attempt reconnect if requested by provider
|
// Attempt reconnect if requested by provider and reset URI to be regenerated.
|
||||||
return this.connectWithOptions(connection, uri, options, callbacks);
|
return this.connectWithOptions(connection, undefined, options, callbacks);
|
||||||
} else {
|
} else {
|
||||||
if (callbacks.onConnectCanceled) {
|
if (callbacks.onConnectCanceled) {
|
||||||
callbacks.onConnectCanceled();
|
callbacks.onConnectCanceled();
|
||||||
|
|||||||
Reference in New Issue
Block a user