diff --git a/src-electron/utils.ts b/src-electron/utils.ts index cab716268..51fedd723 100644 --- a/src-electron/utils.ts +++ b/src-electron/utils.ts @@ -1,6 +1,6 @@ import type { ExclusiveEventHintOrCaptureContext } from '@sentry/core/build/types/utils/prepareEvent'; -import { captureException } from '@sentry/browser'; +import { captureException } from '@sentry/electron/main'; import { version } from 'app/package.json'; import { app, systemPreferences } from 'electron'; diff --git a/src/helpers/error-catcher.ts b/src/helpers/error-catcher.ts index 9db5179eb..7df3dcfd0 100644 --- a/src/helpers/error-catcher.ts +++ b/src/helpers/error-catcher.ts @@ -1,4 +1,4 @@ -import type { ExclusiveEventHintOrCaptureContext } from '@sentry/vue/node_modules/@sentry/core/build/types/utils/prepareEvent'; +import type { ExclusiveEventHintOrCaptureContext } from '@sentry/core/build/types/utils/prepareEvent'; import { captureException } from '@sentry/vue'; import { IS_DEV } from 'src/constants/general';