fix(core-app): CB-1720 show one error per init

This commit is contained in:
Naumov Alexey
2022-04-13 15:15:21 +02:00
parent fde669f6b6
commit c19b3b7841
@@ -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;
}
}