Skip to content

Commit a2f8e2d

Browse files
committed
catching error
1 parent 7e9385c commit a2f8e2d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/deepcode/lib/modules/DeepCodeLib.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default class DeepCodeLib extends BundlesModule implements DeepCode.DeepC
1616

1717
public async activateExtensionAnalyzeActions(): Promise<void> {
1818

19+
try{
1920
// First, check logged in or not
2021
let loggedIn = await this.checkSession();
2122
if (!loggedIn) {
@@ -57,5 +58,8 @@ export default class DeepCodeLib extends BundlesModule implements DeepCode.DeepC
5758
await this.errorHandler.processError(this, err);
5859
}
5960
}
61+
}catch(err) {
62+
await this.errorHandler.processError(this, err);
63+
}
6064
}
6165
}

0 commit comments

Comments
 (0)