ref: a9c63b5305 bad promise rejection handling

This commit is contained in:
Clem
2023-08-25 13:43:43 +02:00
parent 7687972e65
commit 49f9a10372
5 changed files with 6 additions and 6 deletions

View File

@@ -262,7 +262,7 @@ export class ProfilesContextMenu extends TabContextMenuItemProvider {
}
async switchTabProfile (tab: BaseTabComponent) {
const profile = await this.profilesService.showProfileSelector()
const profile = await this.profilesService.showProfileSelector().catch(() => null)
if (!profile) {
return
}