fix uncaught error
This commit is contained in:
parent
ea88aa33ea
commit
32e69a3dec
1 changed files with 3 additions and 1 deletions
|
|
@ -225,7 +225,9 @@ export class ConfigHandler {
|
|||
this.controlPlaneClient = new ControlPlaneClient(
|
||||
Promise.resolve(sessionInfo),
|
||||
);
|
||||
this.fetchControlPlaneProfiles();
|
||||
this.fetchControlPlaneProfiles().catch((e) => {
|
||||
console.error("Failed to fetch control plane profiles: ", e);
|
||||
});
|
||||
}
|
||||
|
||||
private profilesListeners: ((profiles: ProfileDescription[]) => void)[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue