mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use import
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
parent
c88c8434c7
commit
76ce64c20e
@ -60,9 +60,7 @@ import { WeblinkStore } from "../common/weblink-store";
|
|||||||
import { ExtensionsStore } from "../extensions/extensions-store";
|
import { ExtensionsStore } from "../extensions/extensions-store";
|
||||||
import { FilesystemProvisionerStore } from "./extension-filesystem";
|
import { FilesystemProvisionerStore } from "./extension-filesystem";
|
||||||
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
|
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
|
||||||
|
import Sentry from "@sentry/electron/dist/main";
|
||||||
// Initializing Sentry
|
|
||||||
const Sentry = require("@sentry/electron/dist/main");
|
|
||||||
|
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn,
|
dsn,
|
||||||
|
|||||||
@ -38,9 +38,7 @@ import { IpcRendererNavigationEvents } from "./navigation/events";
|
|||||||
import { catalogEntityRegistry } from "./api/catalog-entity-registry";
|
import { catalogEntityRegistry } from "./api/catalog-entity-registry";
|
||||||
import { dsn, isProduction } from "../common/vars";
|
import { dsn, isProduction } from "../common/vars";
|
||||||
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
|
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
|
||||||
|
import Sentry from "@sentry/electron/dist/renderer";
|
||||||
// Initializing Sentry
|
|
||||||
const Sentry = require("@sentry/electron/dist/renderer");
|
|
||||||
|
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn,
|
dsn,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user