mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Cleanup sentry integration (#3315)
This commit is contained in:
1 parent
05b1a2fc5d
commit
77f8ea67bd
9 files changed
+78
-175
No files matched your search
@@ -47,6 +47,7 @@ import { WeblinkStore } from "../common/weblink-store";
|
||||
import { ExtensionsStore } from "../extensions/extensions-store";
|
||||
import { FilesystemProvisionerStore } from "../main/extension-filesystem";
|
||||
import { ThemeStore } from "./theme.store";
|
||||
import { SentryInit } from "../common/sentry";
|
||||
|
||||
configurePackages();
|
||||
|
||||
@@ -85,6 +86,13 @@ export async function bootstrap(App: AppComponent) {
|
||||
ExtensionDiscovery.createInstance().init();
|
||||
|
||||
UserStore.createInstance();
|
||||
|
||||
/**
|
||||
* There is no point setting up sentry before UserStore is initialized as
|
||||
* `allowErrorReporting` will always be falsy.
|
||||
*/
|
||||
await SentryInit();
|
||||
|
||||
await ClusterStore.createInstance().loadInitialOnRenderer();
|
||||
HotbarStore.createInstance();
|
||||
ExtensionsStore.createInstance();
|
||||
|
||||
Reference in new issue
Block a user