1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

SentryInit is sync now, and remove warning comments

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen 2021-07-09 14:23:09 +03:00
parent e815461cb4
commit 8af3f2cd5b
No known key found for this signature in database
GPG Key ID: 54B44603D251B788

View File

@ -87,11 +87,7 @@ export async function bootstrap(App: AppComponent) {
UserStore.createInstance();
/**
* There is no point setting up sentry before UserStore is initialized as
* `allowErrorReporting` will always be falsy.
*/
await SentryInit();
SentryInit();
await ClusterStore.createInstance().loadInitialOnRenderer();
HotbarStore.createInstance();