Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
     })
   }
 
-  public openWS(): void {
+  private openWS(): void {
     const protocols =
       this.configuration.uiServer.authentication?.enabled === true &&
       this.configuration.uiServer.authentication?.type === AuthenticationType.PROTOCOL_BASIC_AUTH
 
     // TODO: Add code for UI notifications or other error handling logic
   }
   app.config.globalProperties.$UIClient = UIClient.getInstance(config)
-  app.config.globalProperties.$UIClient.openWS()
   app.use(router).mount('#app')
 }
 
   })
   .catch(error => {
     console.error('Error at initializing app:', error)
+    throw error
   })