Fix *.init() is undefined exception

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-07-08 10:37:48 +03:00
1 parent 749c0e428b
commit 728774a3c2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ import { WeblinkStore } from "../common/weblink-store";
import { ExtensionsStore } from "../extensions/extensions-store";
import { FilesystemProvisionerStore } from "./extension-filesystem";
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
import Sentry from "@sentry/electron/dist/main";
import * as Sentry from "@sentry/electron/dist/main";
Sentry.init({
dsn,
+1 -1
View File
@@ -38,7 +38,7 @@ import { IpcRendererNavigationEvents } from "./navigation/events";
import { catalogEntityRegistry } from "./api/catalog-entity-registry";
import { dsn, isProduction } from "../common/vars";
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
import Sentry from "@sentry/electron/dist/renderer";
import * as Sentry from "@sentry/electron/dist/renderer";
Sentry.init({
dsn,