We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04808ad commit 2a06895Copy full SHA for 2a06895
src/utils/license.ts
@@ -18,9 +18,13 @@ export async function checkIsLicenseValid(outputChannel: LogOutputChannel) {
18
}
19
20
export async function activateLicense(outputChannel: LogOutputChannel) {
21
- await execLocalStack(["license", "activate"], {
22
- outputChannel,
23
- });
+ try {
+ await execLocalStack(["license", "activate"], {
+ outputChannel,
24
+ });
25
+ } catch (error) {
26
+ outputChannel.error(error instanceof Error ? error : String(error));
27
+ }
28
29
30
export async function activateLicenseUntilValid(
0 commit comments