File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -327,10 +327,14 @@ app.whenReady().then(async () => {
327327 } ) ;
328328
329329 _authHandlers = new AuthIPCHandlers ( ) ;
330- const microsoftAuthService = MicrosoftAuthService . getInstance ( ) ;
331- _msAuthHandlers = new MicrosoftAuthIPCHandlers ( microsoftAuthService ) ;
330+ try {
331+ const microsoftAuthService = MicrosoftAuthService . getInstance ( ) ;
332+ _msAuthHandlers = new MicrosoftAuthIPCHandlers ( microsoftAuthService ) ;
333+ registerPortalHandlers ( microsoftAuthService ) ;
334+ } catch ( error ) {
335+ console . error ( "Failed to initialize Microsoft Auth:" , error ) ;
336+ }
332337 _processVideoHandlers = new ProcessVideoIPCHandlers ( ) ;
333- registerPortalHandlers ( microsoftAuthService ) ;
334338
335339 try {
336340 _llmSettingsHandlers = new LLMSettingsIPCHandlers ( ) ;
You can’t perform that action at this time.
0 commit comments