mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(core-app): CB-1720 show one error per init
This commit is contained in:
@@ -85,9 +85,12 @@ export class NavigationTreeService extends View<string> {
|
||||
return false;
|
||||
}
|
||||
|
||||
const connected = await this.tryInitConnection(connection.id);
|
||||
|
||||
if (!connected) {
|
||||
try {
|
||||
const connected = await this.tryInitConnection(connection.id);
|
||||
if (!connected) {
|
||||
return false;
|
||||
}
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user